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.001293/0.001293, allocations: 115.5 kB / 18.45 MB, free: 4.609 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.001364/0.001364, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.447/1.447, allocations: 207.6 MB / 231.8 MB, free: 4.062 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.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.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.001737/0.001737, allocations: 56.55 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09983, allocations: 49.13 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007923/0.1077, allocations: 5.987 MB / 397.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.1118, allocations: 1.694 MB / 399.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.1131, allocations: 55.62 kB / 399.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009794/0.114, allocations: 317.5 kB / 399.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.1156, allocations: 361.5 kB / 399.8 MB, free: 272 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008403/0.1164, allocations: 363.6 kB / 400.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002505/0.1189, allocations: 2.02 MB / 402.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002644/0.1216, allocations: 1.996 MB / 404.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.123, allocations: 1.063 MB / 405.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.1247, allocations: 1.214 MB / 406.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004655/0.1252, allocations: 308 kB / 406.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008551/0.1261, allocations: 499.6 kB / 407.3 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006814/0.1267, allocations: 0.7247 MB / 408 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.1282, allocations: 1.272 MB / 409.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.1322, allocations: 3.792 MB / 413 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1323, allocations: 0 / 413 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1323, allocations: 0 / 413 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.628e-05/0.1323, allocations: 4 kB / 413 MB, free: 2.938 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.004937/0.1373, allocations: 2.514 MB / 415.6 MB, free: 368 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1373, allocations: 8.031 kB / 415.6 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004149/0.1377, allocations: 332.8 kB / 415.9 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005863/0.1383, allocations: 247.4 kB / 416.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.1402, allocations: 1.178 MB / 417.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.1404, allocations: 164.9 kB / 417.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003327/0.1407, allocations: 235.8 kB / 417.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004456/0.1452, allocations: 2.542 MB / 420.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.1452, allocations: 0 / 420.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.1454, allocations: 91.98 kB / 420.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.497e-05/0.1455, allocations: 60 kB / 420.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/0.1491, allocations: 2.13 MB / 422.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.162, allocations: 7.517 MB / 430 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.1634, allocations: 1.205 MB / 431.2 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.1645, allocations: 0.6062 MB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.1645, allocations: 8.469 kB / 431.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.1646, allocations: 39.12 kB / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.735e-06/0.1646, allocations: 0 / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004598/0.1692, allocations: 2.458 MB / 434.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1692, allocations: 59.97 kB / 434.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.1704, allocations: 0.7972 MB / 435.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.1704, allocations: 37.7 kB / 435.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006967/0.1711, allocations: 0.9402 MB / 436.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.1713, allocations: 234 kB / 436.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.1716, allocations: 150.6 kB / 436.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.1718, allocations: 394.7 kB / 436.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005963/0.1724, allocations: 369.8 kB / 437.3 MB, free: 9.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008026/0.1732, allocations: 0.5789 MB / 437.9 MB, free: 9.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.1746, allocations: 0.9932 MB / 438.9 MB, free: 8.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1746, allocations: 3.938 kB / 438.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002075/0.1767, allocations: 1.159 MB / 440 MB, free: 7.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.1767, allocations: 8 kB / 440.1 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.1768, allocations: 4.469 kB / 440.1 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.1771, allocations: 116.7 kB / 440.2 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.1778, allocations: 171.7 kB / 440.3 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.1804, allocations: 2.329 MB / 442.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006106/0.181, allocations: 40.03 kB / 442.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.1811, allocations: 32 kB / 442.7 MB, free: 4.23 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.001139/0.1823, allocations: 0.6457 MB / 443.4 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.1825, allocations: 95.38 kB / 443.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.1827, allocations: 99.55 kB / 443.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/0.1828, allocations: 8 kB / 443.6 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.1828, allocations: 8 kB / 443.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1828, allocations: 3.984 kB / 443.6 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004633/0.1874, allocations: 2.651 MB / 446.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.1874, allocations: 4 kB / 446.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/0.1879, allocations: 112 kB / 446.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/0.1882, allocations: 92.97 kB / 446.4 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.1882, allocations: 27.86 kB / 446.5 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.1906, allocations: 2.271 MB / 448.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.1906, allocations: 4.062 kB / 448.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.1929, allocations: 1.421 MB / 450.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.1933, allocations: 224.5 kB / 450.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.1934, allocations: 23.94 kB / 450.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/0.1939, allocations: 44.02 kB / 450.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.194, allocations: 40.5 kB / 450.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.1941, allocations: 23.98 kB / 450.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008466/0.1949, allocations: 0.5536 MB / 451.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1949, allocations: 0 / 451.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001171/0.1961, allocations: 311.8 kB / 451.4 MB, free: 11.3 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.002792/0.1989, allocations: 2.004 MB / 453.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.2007, allocations: 0.9666 MB / 454.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2007, allocations: 1.688 kB / 454.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009526/0.2017, allocations: 0.5447 MB / 454.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.2028, allocations: 218.8 kB / 455.1 MB, free: 7.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1838/0.3866, allocations: 10.15 MB / 465.3 MB, free: 62.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.388, allocations: 1.719 MB / 467 MB, free: 61.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005841/0.3886, allocations: 201.6 kB / 467.2 MB, free: 61.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006174/0.3892, allocations: 0.6394 MB / 467.8 MB, free: 61.86 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3892, allocations: 0 / 467.8 MB, free: 61.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05342/0.4426, allocations: 24.45 MB / 492.3 MB, free: 46.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.71, allocations: 15.38 kB / 492.3 MB, free: 46.6 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 & 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/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: 14.132566221989691]