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.001347/0.001347, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.00141/0.00141, allocations: 211.3 kB / 21.41 MB, free: 1.672 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.531/1.531, allocations: 207.6 MB / 231.8 MB, free: 4.078 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.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="me",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="me",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.002478/0.002478, allocations: 51.92 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1215, allocations: 49.13 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01026/0.1318, allocations: 8.074 MB / 399.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005091/0.1369, allocations: 2.681 MB / 402.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.1377, allocations: 27.88 kB / 402.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.1393, allocations: 0.5754 MB / 402.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.1406, allocations: 0.4964 MB / 403.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.141, allocations: 239.7 kB / 403.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.1427, allocations: 1.483 MB / 405 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006632/0.1433, allocations: 398.7 kB / 405.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008105/0.1441, allocations: 0.5797 MB / 406 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007095/0.1448, allocations: 0.5872 MB / 406.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.145, allocations: 136 kB / 406.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.1454, allocations: 184 kB / 406.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.1456, allocations: 282.9 kB / 407.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000643/0.1462, allocations: 0.6648 MB / 407.8 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.1484, allocations: 1.728 MB / 409.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1484, allocations: 0 / 409.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1484, allocations: 0 / 409.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.1484, allocations: 0 / 409.5 MB, free: 6.504 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.002629/0.1511, allocations: 1.487 MB / 411 MB, free: 4.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1511, allocations: 8.031 kB / 411 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.1513, allocations: 156.3 kB / 411.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006742/0.152, allocations: 192 kB / 411.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.1532, allocations: 0.746 MB / 412.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.1533, allocations: 74 kB / 412.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.1534, allocations: 96 kB / 412.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.1551, allocations: 0.9346 MB / 413.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.1551, allocations: 15.88 kB / 413.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-05/0.1552, allocations: 40 kB / 413.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.1552, allocations: 24 kB / 413.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.1565, allocations: 0.6364 MB / 413.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005538/0.162, allocations: 3.889 MB / 417.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.1628, allocations: 416.6 kB / 418.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.1634, allocations: 261.3 kB / 418.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.1634, allocations: 4.328 kB / 418.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.1634, allocations: 38.89 kB / 418.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.955e-06/0.1634, allocations: 0 / 418.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.003053/0.1665, allocations: 1.413 MB / 419.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.1666, allocations: 81.11 kB / 420 MB, free: 11.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.1678, allocations: 0.8293 MB / 420.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.1678, allocations: 29.7 kB / 420.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/0.1683, allocations: 0.5774 MB / 421.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.1684, allocations: 158.7 kB / 421.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.1686, allocations: 130.6 kB / 421.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1688, allocations: 334 kB / 422.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.1691, allocations: 161.9 kB / 422.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.1697, allocations: 468 kB / 422.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009742/0.1707, allocations: 0.6585 MB / 423.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.1707, allocations: 4 kB / 423.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001386/0.1721, allocations: 0.7635 MB / 424.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.1721, allocations: 15.94 kB / 424.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.1721, allocations: 19.92 kB / 424.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.1724, allocations: 85.61 kB / 424.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.1729, allocations: 151.7 kB / 424.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.1756, allocations: 3.146 MB / 427.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/0.1762, allocations: 35.94 kB / 427.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.1762, allocations: 32 kB / 427.6 MB, free: 3.363 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.0004049/0.1767, allocations: 265.8 kB / 427.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.1768, allocations: 91.44 kB / 427.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.1778, allocations: 491.4 kB / 428.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.1778, allocations: 8 kB / 428.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1778, allocations: 7.984 kB / 428.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1778, allocations: 48 / 428.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.1801, allocations: 1.435 MB / 429.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1801, allocations: 128 / 429.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.1805, allocations: 79.84 kB / 429.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002303/0.1807, allocations: 73.89 kB / 430 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.1807, allocations: 12 kB / 430 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.1834, allocations: 3.122 MB / 433.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1834, allocations: 0 / 433.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.1848, allocations: 0.7707 MB / 433.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.1852, allocations: 200.5 kB / 434.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.1853, allocations: 20.11 kB / 434.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.1857, allocations: 27.98 kB / 434.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.1858, allocations: 35.95 kB / 434.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.1858, allocations: 8 kB / 434.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008616/0.1867, allocations: 0.5654 MB / 434.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1867, allocations: 0 / 434.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008539/0.1876, allocations: 207.9 kB / 435 MB, free: 11.53 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 (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.001876/0.1894, allocations: 1.347 MB / 436.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.1907, allocations: 0.6576 MB / 437 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1907, allocations: 1.812 kB / 437 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007015/0.1914, allocations: 441.3 kB / 437.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.1925, allocations: 231.1 kB / 437.6 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.2035, allocations: 7.326 MB / 445 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.2042, allocations: 1.009 MB / 446 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004219/0.2046, allocations: 103.2 kB / 446.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004751/0.2051, allocations: 375.2 kB / 446.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.2051, allocations: 0 / 446.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2322/0.4372, allocations: 19.21 MB / 465.6 MB, free: 65.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.76, allocations: 10.22 kB / 465.7 MB, free: 65.15 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable loadInertia.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.786701806995552]