Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.0009444/0.0009444, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005137/0.005137, allocations: 161.6 kB / 24.69 MB, free: 9.426 MB / 18.57 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 0.8645/0.8645, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 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.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.536e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.122/0.122, allocations: 5.288 MB / 303.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.124, allocations: 1.64 MB / 305.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.1243, allocations: 52.56 kB / 305.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.1248, allocations: 322.6 kB / 305.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007566/0.1255, allocations: 392 kB / 306.1 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.1259, allocations: 366.5 kB / 306.5 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.1271, allocations: 2.076 MB / 308.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.1283, allocations: 1.526 MB / 310.1 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.1294, allocations: 1.585 MB / 311.7 MB, free: 9.012 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/0.1304, allocations: 1.006 MB / 312.7 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.1307, allocations: 310.5 kB / 313 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005123/0.1312, allocations: 468 kB / 313.4 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.1315, allocations: 0.7485 MB / 314.2 MB, free: 8.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006331/0.1322, allocations: 0.8731 MB / 315 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.1344, allocations: 3.837 MB / 318.9 MB, free: 5.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1344, allocations: 1.344 kB / 318.9 MB, free: 5.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1344, allocations: 0 / 318.9 MB, free: 5.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.517e-05/0.1344, allocations: 0 / 318.9 MB, free: 5.684 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.002837/0.1372, allocations: 2.419 MB / 321.3 MB, free: 3.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.1373, allocations: 12.67 kB / 321.3 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002951/0.1376, allocations: 324.5 kB / 321.6 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004532/0.138, allocations: 250.6 kB / 321.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.1393, allocations: 1.124 MB / 323 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/0.1394, allocations: 168.1 kB / 323.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.1396, allocations: 221.8 kB / 323.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.1426, allocations: 2.619 MB / 326 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.1426, allocations: 3.938 kB / 326 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.1427, allocations: 90.53 kB / 326.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/0.1428, allocations: 59.48 kB / 326.2 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.1451, allocations: 2.136 MB / 328.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007164/0.1523, allocations: 6.72 MB / 335 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.1529, allocations: 0.6936 MB / 335.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.1535, allocations: 0.5949 MB / 336.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.1536, allocations: 6 kB / 336.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1536, allocations: 47 kB / 336.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 2.886e-06/0.1536, allocations: 0 / 336.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.002566/0.1562, allocations: 2.387 MB / 338.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.1562, allocations: 60.06 kB / 338.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009112/0.1571, allocations: 0.8088 MB / 339.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.1572, allocations: 37.7 kB / 339.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.1575, allocations: 0.944 MB / 340.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1576, allocations: 226 kB / 340.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.1578, allocations: 154.6 kB / 341 MB, free: 3.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1579, allocations: 398.7 kB / 341.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.1582, allocations: 361.8 kB / 341.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.1587, allocations: 0.5829 MB / 342.3 MB, free: 2.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008172/0.1595, allocations: 0.999 MB / 343.3 MB, free: 1.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1595, allocations: 0 / 343.3 MB, free: 1.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001063/0.1605, allocations: 1.146 MB / 344.4 MB, free: 56 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1606, allocations: 16.03 kB / 344.4 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.1606, allocations: 8 kB / 344.5 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.1608, allocations: 112.7 kB / 344.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.1611, allocations: 171.8 kB / 344.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.1629, allocations: 2.21 MB / 346.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.1632, allocations: 35.97 kB / 347 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.1632, allocations: 35.98 kB / 347 MB, free: 13.35 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006548/0.1639, allocations: 0.6457 MB / 347.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/0.164, allocations: 83.48 kB / 347.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.605e-05/0.1641, allocations: 103.6 kB / 347.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.1641, allocations: 15.94 kB / 347.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1641, allocations: 4 kB / 347.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.1641, allocations: 3.984 kB / 347.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.1665, allocations: 2.536 MB / 350.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1665, allocations: 4 kB / 350.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.1667, allocations: 116 kB / 350.5 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.1669, allocations: 92.78 kB / 350.6 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.1669, allocations: 16.19 kB / 350.6 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.1682, allocations: 2.156 MB / 352.8 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1682, allocations: 0 / 352.8 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.1697, allocations: 1.423 MB / 354.2 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.1699, allocations: 155.5 kB / 354.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.1699, allocations: 19.97 kB / 354.4 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1701, allocations: 43.95 kB / 354.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.1702, allocations: 48.34 kB / 354.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.1703, allocations: 20 kB / 354.5 MB, free: 5.645 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004528/0.1707, allocations: 0.5576 MB / 355 MB, free: 5.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1707, allocations: 0 / 355 MB, free: 5.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007971/0.1715, allocations: 299.9 kB / 355.3 MB, free: 4.801 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001596/0.1731, allocations: 2.006 MB / 357.3 MB, free: 2.746 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.1742, allocations: 0.9722 MB / 358.3 MB, free: 1.758 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1742, allocations: 0.5625 kB / 358.3 MB, free: 1.758 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000525/0.1747, allocations: 0.5363 MB / 358.8 MB, free: 1.207 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.1753, allocations: 218.6 kB / 359.1 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009974/0.1853, allocations: 10.16 MB / 369.2 MB, free: 6.477 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008969/0.1862, allocations: 1.152 MB / 370.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003663/0.1866, allocations: 195.1 kB / 370.6 MB, free: 5.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.1871, allocations: 0.6409 MB / 371.2 MB, free: 4.449 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1871, allocations: 4 kB / 371.2 MB, free: 4.445 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.2254, allocations: 25.97 MB / 397.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/7.864, allocations: 7.859 kB / 397.2 MB, free: 10.39 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.53538612741977]