Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.006211/0.006211, allocations: 110.8 kB / 21.97 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 206.5 kB / 25.27 MB, free: 3.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 55.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2357, allocations: 49.16 MB / 397.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.007208/0.2429, allocations: 8.108 MB / 405.3 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.2464, allocations: 2.684 MB / 407.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.2469, allocations: 27.5 kB / 408 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.248, allocations: 0.5916 MB / 408.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008326/0.2488, allocations: 500 kB / 409 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.2492, allocations: 260.3 kB / 409.3 MB, free: 404 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.2507, allocations: 1.471 MB / 410.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006367/0.2513, allocations: 398.3 kB / 411.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008254/0.2521, allocations: 0.5703 MB / 411.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000717/0.2528, allocations: 0.5982 MB / 412.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.253, allocations: 137.8 kB / 412.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.2533, allocations: 177.2 kB / 412.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.2536, allocations: 278.7 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006436/0.2542, allocations: 0.666 MB / 413.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.2561, allocations: 1.735 MB / 415.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2562, allocations: 0 / 415.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2562, allocations: 0 / 415.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.2562, allocations: 0 / 415.3 MB, free: 12.99 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00252/0.2587, allocations: 1.409 MB / 416.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.2587, allocations: 14.17 kB / 416.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.358e-05/0.2588, allocations: 25.34 kB / 416.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.259, allocations: 153 kB / 416.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006962/0.2597, allocations: 194.8 kB / 417.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.261, allocations: 0.6768 MB / 417.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.261, allocations: 77.03 kB / 417.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.2612, allocations: 95.81 kB / 417.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.2628, allocations: 0.9344 MB / 418.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.2628, allocations: 10.77 kB / 418.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/0.2629, allocations: 40.22 kB / 418.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.2629, allocations: 24.31 kB / 418.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.2642, allocations: 0.6347 MB / 419.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005274/0.2694, allocations: 3.772 MB / 423.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/0.2701, allocations: 340 kB / 423.7 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.2706, allocations: 252.5 kB / 423.9 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.2707, allocations: 3.703 kB / 423.9 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.2707, allocations: 45.39 kB / 424 MB, free: 6.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.2707, allocations: 1.219 kB / 424 MB, free: 6.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002736/0.2734, allocations: 1.267 MB / 425.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.196e-05/0.2735, allocations: 81.7 kB / 425.3 MB, free: 5.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.2746, allocations: 0.8231 MB / 426.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.2747, allocations: 36.08 kB / 426.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.2751, allocations: 0.5758 MB / 426.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.2753, allocations: 159.7 kB / 426.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.2755, allocations: 140 kB / 427.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2756, allocations: 328.6 kB / 427.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.276, allocations: 171.2 kB / 427.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.2765, allocations: 459.8 kB / 428 MB, free: 3.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/0.2774, allocations: 0.6605 MB / 428.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2774, allocations: 3.625 kB / 428.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001358/0.2788, allocations: 0.7674 MB / 429.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.2788, allocations: 8 kB / 429.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.2789, allocations: 15.92 kB / 429.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002858/0.2791, allocations: 81.94 kB / 429.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.2796, allocations: 159.7 kB / 429.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.2821, allocations: 2.92 MB / 432.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/0.2827, allocations: 36.05 kB / 432.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.2827, allocations: 36 kB / 432.7 MB, free: 14.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003733/0.2831, allocations: 261.8 kB / 432.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.2832, allocations: 91.39 kB / 433 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009416/0.2842, allocations: 499.4 kB / 433.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2842, allocations: 4 kB / 433.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2842, allocations: 4.125 kB / 433.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.2842, allocations: 7.984 kB / 433.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.2864, allocations: 1.399 MB / 434.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2864, allocations: 7.984 kB / 434.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.2867, allocations: 67.91 kB / 435 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002032/0.2869, allocations: 73.61 kB / 435.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.2869, allocations: 16.16 kB / 435.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.2894, allocations: 2.931 MB / 438 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2894, allocations: 0 / 438 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.2907, allocations: 0.7673 MB / 438.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.2909, allocations: 131.3 kB / 438.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-05/0.291, allocations: 8 kB / 438.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.2914, allocations: 27.98 kB / 438.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.2915, allocations: 35.94 kB / 439 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.2916, allocations: 12 kB / 439 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007807/0.2923, allocations: 0.5615 MB / 439.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2923, allocations: 0 / 439.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000869/0.2932, allocations: 208 kB / 439.8 MB, free: 7.332 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/0.2948, allocations: 1.349 MB / 441.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.296, allocations: 0.6671 MB / 441.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.296, allocations: 0 / 441.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007127/0.2967, allocations: 432.8 kB / 442.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.2978, allocations: 233.1 kB / 442.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.3083, allocations: 7.319 MB / 449.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/0.309, allocations: 1.012 MB / 450.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003997/0.3094, allocations: 103.2 kB / 450.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/0.3099, allocations: 371.3 kB / 451.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3099, allocations: 0 / 451.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05448/0.3644, allocations: 19.74 MB / 471 MB, free: 7.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.58, allocations: 15.81 kB / 471 MB, free: 7.457 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.45558470900869]