Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.0008237/0.0008237, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009222/0.0009222, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8744/0.8744, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.367e-06/1.085e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004693/0.004704, allocations: 5.365 MB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.006877, allocations: 1.658 MB / 331.6 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.007194, allocations: 63.62 kB / 331.6 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.007603, allocations: 325.4 kB / 332 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007464/0.008349, allocations: 389 kB / 332.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.008761, allocations: 371.3 kB / 332.7 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.009964, allocations: 2.086 MB / 334.8 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.01122, allocations: 1.548 MB / 336.3 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.01236, allocations: 1.591 MB / 337.9 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008068/0.01317, allocations: 1.021 MB / 339 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.0135, allocations: 308 kB / 339.3 MB, free: 1.121 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.01393, allocations: 455.5 kB / 339.7 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003945/0.01432, allocations: 0.7558 MB / 340.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005424/0.01486, allocations: 0.8654 MB / 341.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002582/0.01745, allocations: 3.856 MB / 345.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01745, allocations: 0 / 345.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01745, allocations: 0 / 345.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.242e-05/0.01748, allocations: 0 / 345.2 MB, free: 11.18 MB / 314.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.002559/0.02004, allocations: 2.43 MB / 347.6 MB, free: 8.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.02008, allocations: 8.031 kB / 347.6 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002581/0.02034, allocations: 328.9 kB / 347.9 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004439/0.02078, allocations: 279.4 kB / 348.2 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.02209, allocations: 1.269 MB / 349.5 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.02216, allocations: 168.9 kB / 349.6 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.02235, allocations: 216.4 kB / 349.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.02513, allocations: 2.625 MB / 352.5 MB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.02516, allocations: 0 / 352.5 MB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.02528, allocations: 92 kB / 352.6 MB, free: 3.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.02532, allocations: 56 kB / 352.6 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.02749, allocations: 2.141 MB / 354.8 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006195/0.03369, allocations: 6.723 MB / 361.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.03433, allocations: 0.6966 MB / 362.2 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/0.03495, allocations: 0.5911 MB / 362.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.03498, allocations: 8.5 kB / 362.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.03501, allocations: 47.05 kB / 362.8 MB, free: 9.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 1.894e-06/0.03501, allocations: 0 / 362.8 MB, free: 9.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002537/0.03755, allocations: 2.375 MB / 365.2 MB, free: 6.699 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.03758, allocations: 63.98 kB / 365.3 MB, free: 6.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.0382, allocations: 0.8167 MB / 366.1 MB, free: 5.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.03823, allocations: 33.7 kB / 366.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.03858, allocations: 0.9441 MB / 367.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.03869, allocations: 238 kB / 367.3 MB, free: 4.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.03882, allocations: 146.6 kB / 367.4 MB, free: 4.418 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.03893, allocations: 390.8 kB / 367.8 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.03927, allocations: 365.7 kB / 368.2 MB, free: 3.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.0397, allocations: 0.5791 MB / 368.8 MB, free: 2.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008225/0.04053, allocations: 0.9911 MB / 369.7 MB, free: 1.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.04053, allocations: 0 / 369.7 MB, free: 1.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0011/0.04163, allocations: 1.157 MB / 370.9 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.04165, allocations: 8 kB / 370.9 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.04166, allocations: 8 kB / 370.9 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.04185, allocations: 108.7 kB / 371 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.04221, allocations: 175.9 kB / 371.2 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.04379, allocations: 2.203 MB / 373.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.04403, allocations: 39.97 kB / 373.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.04407, allocations: 32.06 kB / 373.5 MB, free: 14.06 MB / 346.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.0006685/0.04473, allocations: 0.6535 MB / 374.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.04483, allocations: 87.44 kB / 374.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.848e-05/0.04493, allocations: 103.7 kB / 374.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.04494, allocations: 12.12 kB / 374.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.04495, allocations: 0 / 374.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.04495, allocations: 11.92 kB / 374.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/0.04734, allocations: 2.536 MB / 376.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.04735, allocations: 4.156 kB / 376.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.04757, allocations: 99.88 kB / 377 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001371/0.04771, allocations: 100.8 kB / 377.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.04773, allocations: 12 kB / 377.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.04911, allocations: 2.16 MB / 379.2 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.04911, allocations: 0 / 379.2 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.05033, allocations: 1.415 MB / 380.7 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.05051, allocations: 159.6 kB / 380.8 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.05056, allocations: 12 kB / 380.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.05076, allocations: 39.95 kB / 380.9 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.05084, allocations: 56.28 kB / 380.9 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.05087, allocations: 16 kB / 380.9 MB, free: 6.352 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004348/0.0513, allocations: 0.5654 MB / 381.5 MB, free: 5.793 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0513, allocations: 0 / 381.5 MB, free: 5.793 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006094/0.05191, allocations: 307.9 kB / 381.8 MB, free: 5.492 MB / 346.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.001494/0.0534, allocations: 1.99 MB / 383.8 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009707/0.05437, allocations: 0.98 MB / 384.8 MB, free: 2.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.05438, allocations: 0 / 384.8 MB, free: 2.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.05487, allocations: 0.5407 MB / 385.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.05548, allocations: 219.1 kB / 385.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008899/0.06437, allocations: 10.19 MB / 395.7 MB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007459/0.06512, allocations: 1.148 MB / 396.9 MB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000311/0.06543, allocations: 203.1 kB / 397.1 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004912/0.06592, allocations: 0.6448 MB / 397.7 MB, free: 5.109 MB / 362.7 MB Notification: Performance of SimCode: time 6.22e-07/0.06592, allocations: 3.938 kB / 397.7 MB, free: 5.105 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.09952, allocations: 26.04 MB / 423.7 MB, free: 11.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.576, allocations: 5.734 kB / 423.7 MB, free: 11.36 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.295115006156266]