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.001308/0.001308, allocations: 83.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.004455/0.004455, allocations: 166 kB / 24.7 MB, free: 8.887 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.8397/0.8397, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.663e-06/1.663e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.45e-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.1221/0.1221, allocations: 5.293 MB / 303.7 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.1242, allocations: 1.632 MB / 305.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.1245, allocations: 56.56 kB / 305.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.1249, allocations: 327 kB / 305.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007678/0.1257, allocations: 386.8 kB / 306.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1261, allocations: 369.8 kB / 306.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.1274, allocations: 2.073 MB / 308.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.1288, allocations: 1.525 MB / 310.1 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.1299, allocations: 1.586 MB / 311.7 MB, free: 8.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.131, allocations: 1.013 MB / 312.7 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002703/0.1312, allocations: 309.7 kB / 313 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005669/0.1318, allocations: 460.2 kB / 313.4 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003812/0.1322, allocations: 0.7494 MB / 314.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006167/0.1328, allocations: 0.8761 MB / 315 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.1351, allocations: 3.833 MB / 318.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.1351, allocations: 4 kB / 318.9 MB, free: 5.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1351, allocations: 5.188 kB / 318.9 MB, free: 5.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.1351, allocations: 0 / 318.9 MB, free: 5.527 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.002407/0.1375, allocations: 2.415 MB / 321.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1376, allocations: 13.39 kB / 321.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002458/0.1378, allocations: 328.1 kB / 321.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003541/0.1382, allocations: 246.9 kB / 321.9 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.1393, allocations: 1.124 MB / 323 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.1394, allocations: 168.1 kB / 323.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.1396, allocations: 221.4 kB / 323.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.142, allocations: 2.622 MB / 326 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.142, allocations: 5.406 kB / 326 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.1421, allocations: 90 kB / 326.1 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.1422, allocations: 56.25 kB / 326.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.1444, allocations: 2.141 MB / 328.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006516/0.1509, allocations: 6.72 MB / 335 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.1516, allocations: 0.6927 MB / 335.7 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.1522, allocations: 0.5911 MB / 336.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.1522, allocations: 4.5 kB / 336.3 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1523, allocations: 39.06 kB / 336.3 MB, free: 8.297 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 2.073e-06/0.1523, allocations: 5.25 kB / 336.3 MB, free: 8.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.002438/0.1547, allocations: 2.397 MB / 338.7 MB, free: 5.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.1547, allocations: 64.06 kB / 338.8 MB, free: 5.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00063/0.1554, allocations: 0.8049 MB / 339.6 MB, free: 4.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.1554, allocations: 37.7 kB / 339.6 MB, free: 4.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.1558, allocations: 0.9401 MB / 340.6 MB, free: 3.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1559, allocations: 234 kB / 340.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.156, allocations: 142.6 kB / 341 MB, free: 3.602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1561, allocations: 398.7 kB / 341.3 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.1565, allocations: 365.8 kB / 341.7 MB, free: 2.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.1569, allocations: 0.579 MB / 342.3 MB, free: 2.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008258/0.1578, allocations: 0.9911 MB / 343.3 MB, free: 1.082 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1578, allocations: 4 kB / 343.3 MB, free: 1.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001107/0.1589, allocations: 1.15 MB / 344.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1589, allocations: 11.94 kB / 344.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1589, allocations: 11.94 kB / 344.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.1591, allocations: 112.8 kB / 344.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.1595, allocations: 175.7 kB / 344.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.1609, allocations: 2.203 MB / 346.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.1611, allocations: 48.02 kB / 347 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.1611, allocations: 31.98 kB / 347 MB, free: 13.21 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.0005443/0.1617, allocations: 0.6457 MB / 347.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/0.1618, allocations: 83.48 kB / 347.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1619, allocations: 107.5 kB / 347.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.1619, allocations: 11.94 kB / 347.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1619, allocations: 0 / 347.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1619, allocations: 3.984 kB / 347.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.1643, allocations: 2.548 MB / 350.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1643, allocations: 0 / 350.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.1646, allocations: 107.9 kB / 350.5 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001364/0.1647, allocations: 92.78 kB / 350.6 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.1647, allocations: 24.11 kB / 350.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.166, allocations: 2.148 MB / 352.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.166, allocations: 0 / 352.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.1672, allocations: 1.427 MB / 354.2 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.1674, allocations: 155.4 kB / 354.4 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.1674, allocations: 16 kB / 354.4 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.1677, allocations: 43.94 kB / 354.4 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.1677, allocations: 52.28 kB / 354.5 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.1678, allocations: 24.06 kB / 354.5 MB, free: 5.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000437/0.1682, allocations: 0.5576 MB / 355 MB, free: 4.949 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1682, allocations: 0 / 355 MB, free: 4.949 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.1688, allocations: 303.9 kB / 355.3 MB, free: 4.652 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.001573/0.1704, allocations: 1.994 MB / 357.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.1714, allocations: 0.9755 MB / 358.3 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1714, allocations: 0 / 358.3 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005197/0.1719, allocations: 0.5377 MB / 358.8 MB, free: 1.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.1726, allocations: 226.3 kB / 359.1 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009476/0.1821, allocations: 10.15 MB / 369.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.1829, allocations: 1.144 MB / 370.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.1832, allocations: 199.1 kB / 370.6 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/0.1838, allocations: 0.6409 MB / 371.2 MB, free: 4.309 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1838, allocations: 4 kB / 371.2 MB, free: 4.305 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.2192, allocations: 25.97 MB / 397.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/7.875, allocations: 7.844 kB / 397.2 MB, free: 10.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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.493411844596267]