Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 121.3 kB / 18.45 MB, free: 4.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 193.2 kB / 21.4 MB, free: 1.684 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.451/1.451, allocations: 207.6 MB / 231.8 MB, free: 4.094 MB / 174.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 56.28 kB / 342.3 MB, free: 10.14 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1153, allocations: 49.11 MB / 391.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01085/0.1262, allocations: 8.214 MB / 399.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005276/0.1315, allocations: 2.747 MB / 402.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007226/0.1322, allocations: 23.94 kB / 402.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.1337, allocations: 0.5792 MB / 402.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.1349, allocations: 0.508 MB / 403.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.1354, allocations: 259.7 kB / 403.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.1371, allocations: 1.506 MB / 405.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006393/0.1377, allocations: 398.8 kB / 405.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007295/0.1384, allocations: 0.5681 MB / 406.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007278/0.1392, allocations: 0.6143 MB / 406.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.1393, allocations: 140 kB / 406.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.1397, allocations: 184 kB / 407.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.1399, allocations: 283 kB / 407.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006201/0.1405, allocations: 0.6842 MB / 408.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.1424, allocations: 1.751 MB / 409.8 MB, free: 6.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1424, allocations: 0 / 409.8 MB, free: 6.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1424, allocations: 3.938 kB / 409.8 MB, free: 6.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.1424, allocations: 0 / 409.8 MB, free: 6.316 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002551/0.145, allocations: 1.51 MB / 411.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.145, allocations: 12.03 kB / 411.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.1452, allocations: 152.3 kB / 411.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006555/0.1459, allocations: 196 kB / 411.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.1472, allocations: 0.7625 MB / 412.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/0.1473, allocations: 70 kB / 412.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.1474, allocations: 104 kB / 412.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.149, allocations: 0.9425 MB / 413.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.149, allocations: 4 kB / 413.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/0.1491, allocations: 36 kB / 413.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.1491, allocations: 27.98 kB / 413.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.1504, allocations: 0.6481 MB / 414.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005752/0.1562, allocations: 3.931 MB / 418.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.157, allocations: 427.8 kB / 418.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.1576, allocations: 268.6 kB / 418.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.1576, allocations: 8 kB / 418.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.1577, allocations: 42.55 kB / 418.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 3.617e-06/0.1577, allocations: 0 / 418.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.003364/0.1611, allocations: 1.566 MB / 420.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.1611, allocations: 85.11 kB / 420.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.1624, allocations: 0.8372 MB / 421.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.1624, allocations: 29.7 kB / 421.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005044/0.1629, allocations: 0.5814 MB / 422 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.1631, allocations: 174.5 kB / 422.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.1633, allocations: 130.6 kB / 422.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.1635, allocations: 338 kB / 422.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.1639, allocations: 177.9 kB / 422.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/0.1646, allocations: 463.6 kB / 423.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.1657, allocations: 0.6874 MB / 424 MB, free: 7.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.1657, allocations: 4 kB / 424 MB, free: 7.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001544/0.1673, allocations: 0.787 MB / 424.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.1673, allocations: 12 kB / 424.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.1673, allocations: 11.98 kB / 424.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.1676, allocations: 81.88 kB / 424.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.1681, allocations: 159.7 kB / 425 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/0.1718, allocations: 3.146 MB / 428.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008711/0.1726, allocations: 44 kB / 428.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.1727, allocations: 32 kB / 428.2 MB, free: 2.781 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 (85): * Single equations (assignments): 83 * 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.0006786/0.1734, allocations: 269.5 kB / 428.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.1736, allocations: 91.44 kB / 428.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.1748, allocations: 0.4951 MB / 429.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1748, allocations: 7.938 kB / 429.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1748, allocations: 4 kB / 429.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.1748, allocations: 3.984 kB / 429.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.1778, allocations: 1.47 MB / 430.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.1778, allocations: 0 / 430.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.1781, allocations: 79.83 kB / 430.6 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002767/0.1784, allocations: 73.89 kB / 430.7 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.1784, allocations: 12 kB / 430.7 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.1813, allocations: 3.126 MB / 433.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1813, allocations: 4 kB / 433.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.1829, allocations: 0.8026 MB / 434.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005217/0.1834, allocations: 208.5 kB / 434.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.1835, allocations: 11.94 kB / 434.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.184, allocations: 35.97 kB / 434.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.1842, allocations: 27.97 kB / 434.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.1842, allocations: 15.98 kB / 435 MB, free: 11.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.1853, allocations: 0.5732 MB / 435.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1853, allocations: 4 kB / 435.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00109/0.1863, allocations: 211.9 kB / 435.7 MB, free: 10.82 MB / 366.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 (39): * Single equations (assignments): 37 * 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.002001/0.1883, allocations: 1.366 MB / 437.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.1899, allocations: 0.6775 MB / 437.8 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1899, allocations: 1.938 kB / 437.8 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000722/0.1906, allocations: 453.5 kB / 438.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.1917, allocations: 231.3 kB / 438.5 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.2037, allocations: 7.472 MB / 445.9 MB, free: 80 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008048/0.2045, allocations: 1.013 MB / 446.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.205, allocations: 107.3 kB / 447 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.2055, allocations: 391.3 kB / 447.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.2055, allocations: 0 / 447.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2571/0.4626, allocations: 19.57 MB / 467 MB, free: 66.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.74, allocations: 4.344 kB / 467 MB, free: 66.06 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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: 15.68597560795024]