Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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.001457/0.001457, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001354/0.001354, allocations: 187.8 kB / 23.7 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 55.92 kB / 370.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3381, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008727/0.3469, allocations: 5.337 MB / 427.9 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004/0.3509, allocations: 1.585 MB / 429.5 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009707/0.3518, allocations: 59.62 kB / 429.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007596/0.3526, allocations: 321.4 kB / 429.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.3541, allocations: 381.5 kB / 430.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.355, allocations: 355.5 kB / 430.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.3579, allocations: 2.017 MB / 432.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.3602, allocations: 1.55 MB / 434.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.3617, allocations: 1.056 MB / 435.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.3638, allocations: 1.155 MB / 436.4 MB, free: 488 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004973/0.3643, allocations: 308 kB / 436.7 MB, free: 180 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.3653, allocations: 463.6 kB / 437.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007723/0.3661, allocations: 0.7325 MB / 437.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.3675, allocations: 1.012 MB / 438.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00471/0.3722, allocations: 3.823 MB / 442.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.3722, allocations: 0 / 442.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.3722, allocations: 0 / 442.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001317/0.3723, allocations: 0 / 442.7 MB, free: 10.14 MB / 350.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.005604/0.378, allocations: 2.442 MB / 445.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.01e-05/0.378, allocations: 12.03 kB / 445.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005259/0.3786, allocations: 324.9 kB / 445.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007016/0.3793, allocations: 247.4 kB / 445.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/0.382, allocations: 1.254 MB / 447 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.3822, allocations: 176.9 kB / 447.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.3825, allocations: 223.9 kB / 447.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004999/0.3875, allocations: 2.621 MB / 450 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.3875, allocations: 0 / 450 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.3877, allocations: 92 kB / 450.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.216e-05/0.3878, allocations: 56 kB / 450.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004058/0.3919, allocations: 2.141 MB / 452.3 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.4056, allocations: 6.715 MB / 459 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.4073, allocations: 0.6925 MB / 459.7 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.4089, allocations: 0.5946 MB / 460.3 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-05/0.409, allocations: 8.5 kB / 460.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/0.409, allocations: 43.06 kB / 460.3 MB, free: 8.105 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 4.989e-06/0.409, allocations: 0 / 460.3 MB, free: 8.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.006444/0.4155, allocations: 2.383 MB / 462.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.4155, allocations: 60.06 kB / 462.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.4173, allocations: 0.8126 MB / 463.6 MB, free: 4.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.507e-05/0.4174, allocations: 37.7 kB / 463.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.4186, allocations: 0.9441 MB / 464.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.4188, allocations: 234 kB / 464.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003944/0.4192, allocations: 154.6 kB / 464.9 MB, free: 3.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003497/0.4196, allocations: 386.8 kB / 465.3 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009886/0.4206, allocations: 365.8 kB / 465.7 MB, free: 2.664 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.4218, allocations: 0.5829 MB / 466.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.4242, allocations: 0.9794 MB / 467.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.4242, allocations: 4 kB / 467.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003158/0.4274, allocations: 1.15 MB / 468.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.4274, allocations: 8 kB / 468.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.4274, allocations: 8 kB / 468.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/0.4279, allocations: 113 kB / 468.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4289, allocations: 183.6 kB / 468.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003619/0.4326, allocations: 2.21 MB / 470.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/0.4335, allocations: 35.97 kB / 470.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.4336, allocations: 36.06 kB / 471 MB, free: 13.05 MB / 382.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.001635/0.4352, allocations: 0.6457 MB / 471.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.4355, allocations: 87.42 kB / 471.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.4358, allocations: 99.55 kB / 471.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-05/0.4359, allocations: 8 kB / 471.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.493e-05/0.4359, allocations: 4.188 kB / 471.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.4359, allocations: 3.984 kB / 471.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006973/0.4429, allocations: 2.54 MB / 474.3 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4429, allocations: 4.031 kB / 474.3 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007387/0.4436, allocations: 111.8 kB / 474.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003857/0.444, allocations: 100.8 kB / 474.6 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.4441, allocations: 15.94 kB / 474.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003344/0.4474, allocations: 2.153 MB / 476.7 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4474, allocations: 64 / 476.7 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/0.451, allocations: 1.427 MB / 478.2 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000684/0.4516, allocations: 147.5 kB / 478.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.4518, allocations: 19.94 kB / 478.3 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/0.4524, allocations: 39.95 kB / 478.4 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.4526, allocations: 52.41 kB / 478.4 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.4527, allocations: 19.98 kB / 478.4 MB, free: 5.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001173/0.4539, allocations: 0.5536 MB / 479 MB, free: 4.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4539, allocations: 0 / 479 MB, free: 4.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001694/0.4556, allocations: 304 kB / 479.3 MB, free: 4.492 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.004046/0.4596, allocations: 2.002 MB / 481.3 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002682/0.4623, allocations: 0.9683 MB / 482.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4623, allocations: 0.625 kB / 482.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.4636, allocations: 0.544 MB / 482.8 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.4655, allocations: 219.2 kB / 483 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/0.4912, allocations: 10.14 MB / 493.1 MB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.4935, allocations: 1.148 MB / 494.3 MB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001167/0.4947, allocations: 203.1 kB / 494.5 MB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/0.496, allocations: 0.6399 MB / 495.1 MB, free: 4.152 MB / 398.1 MB Notification: Performance of SimCode: time 1.633e-06/0.496, allocations: 0 / 495.1 MB, free: 4.152 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/0.6, allocations: 25.94 MB / 0.5089 GB, free: 10.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.93, allocations: 0 / 0.5089 GB, free: 10.56 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Polyphase.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_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.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: 15.423159998841584]