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.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.00181/0.00181, allocations: 122.3 kB / 18.45 MB, free: 4.605 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.00222/0.00222, allocations: 190.9 kB / 21.39 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.407/1.407, allocations: 207.6 MB / 231.8 MB, free: 4.211 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.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: 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.001672/0.001672, allocations: 59.91 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.104, allocations: 49.12 MB / 391.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.008362/0.1124, allocations: 5.983 MB / 397.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004078/0.1165, allocations: 1.698 MB / 399.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.1172, allocations: 39.88 kB / 399.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.1179, allocations: 317.4 kB / 399.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.1191, allocations: 365.5 kB / 399.8 MB, free: 328 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008216/0.1199, allocations: 359.6 kB / 400.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.1222, allocations: 2.02 MB / 402.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/0.1248, allocations: 1.996 MB / 404.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.1261, allocations: 1.04 MB / 405.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.1277, allocations: 1.214 MB / 406.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003966/0.1281, allocations: 312 kB / 406.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008537/0.129, allocations: 499.6 kB / 407.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006993/0.1297, allocations: 0.7286 MB / 407.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.1311, allocations: 1.268 MB / 409.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004183/0.1353, allocations: 3.792 MB / 413 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1353, allocations: 0 / 413 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1353, allocations: 0 / 413 MB, free: 3.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.621e-05/0.1354, allocations: 0 / 413 MB, free: 3.02 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004666/0.14, allocations: 2.522 MB / 415.5 MB, free: 444 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.1401, allocations: 8.031 kB / 415.5 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004215/0.1405, allocations: 328.9 kB / 415.8 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005792/0.1411, allocations: 247.4 kB / 416.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.1433, allocations: 1.186 MB / 417.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.1435, allocations: 168.9 kB / 417.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/0.1438, allocations: 223.9 kB / 417.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004386/0.1482, allocations: 2.545 MB / 420.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/0.1482, allocations: 0 / 420.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.1484, allocations: 91.98 kB / 420.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.137e-05/0.1485, allocations: 60 kB / 420.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003709/0.1522, allocations: 2.134 MB / 422.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.1641, allocations: 7.509 MB / 430 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.1655, allocations: 1.201 MB / 431.2 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.1666, allocations: 0.6023 MB / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.1666, allocations: 4.562 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1667, allocations: 47.05 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 4.659e-06/0.1667, allocations: 3.984 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004311/0.171, allocations: 2.458 MB / 434.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.1711, allocations: 59.97 kB / 434.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1721, allocations: 0.7933 MB / 435.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.1722, allocations: 41.69 kB / 435.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006733/0.1729, allocations: 0.9402 MB / 436.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.173, allocations: 242 kB / 436.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.1733, allocations: 150.6 kB / 436.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.1735, allocations: 386.8 kB / 436.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005781/0.1741, allocations: 365.8 kB / 437.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007936/0.1749, allocations: 0.5828 MB / 437.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.1763, allocations: 0.9893 MB / 438.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1763, allocations: 4 kB / 438.8 MB, free: 8.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001919/0.1782, allocations: 1.163 MB / 440 MB, free: 7.137 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1782, allocations: 8 kB / 440 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1782, allocations: 4 kB / 440 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/0.1785, allocations: 120.7 kB / 440.1 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.1792, allocations: 163.9 kB / 440.3 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/0.1819, allocations: 2.337 MB / 442.6 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.1824, allocations: 35.97 kB / 442.6 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.1824, allocations: 36 kB / 442.7 MB, free: 4.301 MB / 366.1 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.001203/0.1836, allocations: 0.6496 MB / 443.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.1838, allocations: 99.42 kB / 443.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.184, allocations: 95.56 kB / 443.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.184, allocations: 8 kB / 443.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/0.184, allocations: 4 kB / 443.5 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.184, allocations: 3.984 kB / 443.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004735/0.1888, allocations: 2.651 MB / 446.2 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.1888, allocations: 0 / 446.2 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.1893, allocations: 115.8 kB / 446.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.1895, allocations: 88.78 kB / 446.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.1895, allocations: 23.94 kB / 446.4 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.192, allocations: 2.283 MB / 448.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.192, allocations: 0 / 448.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.1942, allocations: 1.421 MB / 450.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/0.1947, allocations: 220.6 kB / 450.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/0.1948, allocations: 31.98 kB / 450.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.1951, allocations: 35.97 kB / 450.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.1953, allocations: 44.48 kB / 450.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.1953, allocations: 20 kB / 450.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007536/0.1961, allocations: 0.5536 MB / 451 MB, free: 11.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1961, allocations: 0 / 451 MB, free: 11.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001108/0.1972, allocations: 311.9 kB / 451.3 MB, free: 11.38 MB / 382.1 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.002578/0.1998, allocations: 2.003 MB / 453.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.2015, allocations: 0.972 MB / 454.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2015, allocations: 128 / 454.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008708/0.2023, allocations: 0.5406 MB / 454.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.2034, allocations: 227.1 kB / 455 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2003/0.4037, allocations: 10.14 MB / 465.2 MB, free: 64.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.4051, allocations: 1.72 MB / 466.9 MB, free: 64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006252/0.4057, allocations: 201 kB / 467.1 MB, free: 63.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006305/0.4063, allocations: 0.6413 MB / 467.7 MB, free: 63.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4063, allocations: 1.438 kB / 467.7 MB, free: 63.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05941/0.4657, allocations: 24.45 MB / 492.2 MB, free: 48.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.79, allocations: 4.062 kB / 492.2 MB, free: 48.77 MB / 382.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.25589786004275]