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.0008066/0.0008066, allocations: 76.08 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.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.0008114/0.0008114, allocations: 153 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8683/0.8683, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 2.394e-06/2.394e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.2e-05, allocations: 6.281 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005013/0.005035, allocations: 5.33 MB / 323.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.007226, allocations: 1.596 MB / 325.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003641/0.007591, allocations: 59.69 kB / 325.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.008022, allocations: 329.4 kB / 325.7 MB, free: 15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008005/0.008822, allocations: 397 kB / 326.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.009284, allocations: 359.4 kB / 326.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.01055, allocations: 2.074 MB / 328.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.0119, allocations: 1.548 MB / 330.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.01317, allocations: 1.591 MB / 331.7 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009207/0.01409, allocations: 1.009 MB / 332.7 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.01431, allocations: 315.9 kB / 333 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004751/0.01478, allocations: 455.6 kB / 333.4 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005196/0.0153, allocations: 0.7518 MB / 334.2 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005612/0.01587, allocations: 0.8732 MB / 335.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.01815, allocations: 3.841 MB / 338.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01816, allocations: 0 / 338.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.01816, allocations: 0 / 338.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.627e-05/0.01821, allocations: 0 / 338.9 MB, free: 1.719 MB / 298.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.003134/0.02135, allocations: 2.426 MB / 341.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.0214, allocations: 12.92 kB / 341.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002756/0.02167, allocations: 328.9 kB / 341.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.02208, allocations: 251.4 kB / 341.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.02351, allocations: 1.253 MB / 343.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.282e-05/0.02359, allocations: 168.9 kB / 343.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.0238, allocations: 220.3 kB / 343.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.02657, allocations: 2.617 MB / 346.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.0266, allocations: 0 / 346.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.02673, allocations: 88 kB / 346.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/0.02677, allocations: 64 kB / 346.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.02913, allocations: 2.149 MB / 348.5 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006416/0.03554, allocations: 6.723 MB / 355.2 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007832/0.03633, allocations: 0.6794 MB / 355.9 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006373/0.03696, allocations: 0.5911 MB / 356.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.037, allocations: 16.44 kB / 356.5 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.03702, allocations: 39.06 kB / 356.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 2.574e-06/0.03703, allocations: 0 / 356.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002555/0.03958, allocations: 2.387 MB / 358.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.03961, allocations: 56.06 kB / 359 MB, free: 13.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/0.04024, allocations: 0.8049 MB / 359.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.04027, allocations: 41.7 kB / 359.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.04063, allocations: 0.9441 MB / 360.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.04074, allocations: 234 kB / 361 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.04087, allocations: 150.6 kB / 361.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.04098, allocations: 386.8 kB / 361.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.04132, allocations: 365.8 kB / 361.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.04176, allocations: 0.5829 MB / 362.4 MB, free: 9.594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.0427, allocations: 0.9833 MB / 363.4 MB, free: 8.512 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.0427, allocations: 4 kB / 363.4 MB, free: 8.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001123/0.04382, allocations: 1.15 MB / 364.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.04384, allocations: 8 kB / 364.6 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.04386, allocations: 8 kB / 364.6 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.04407, allocations: 112.7 kB / 364.7 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.04445, allocations: 175.7 kB / 364.9 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.04594, allocations: 2.203 MB / 367.1 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.04622, allocations: 39.97 kB / 367.1 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.04626, allocations: 36 kB / 367.2 MB, free: 4.656 MB / 330.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.0007284/0.04699, allocations: 0.6574 MB / 367.8 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.04709, allocations: 87.47 kB / 367.9 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.0472, allocations: 95.56 kB / 368 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.04722, allocations: 11.94 kB / 368 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.04723, allocations: 4 kB / 368 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.04724, allocations: 3.984 kB / 368 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.05009, allocations: 2.536 MB / 370.5 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.05009, allocations: 0 / 370.5 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.05033, allocations: 108 kB / 370.6 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001515/0.05048, allocations: 108.8 kB / 370.8 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.05051, allocations: 12 kB / 370.8 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.05185, allocations: 2.16 MB / 372.9 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.05185, allocations: 4.062 kB / 372.9 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.0532, allocations: 1.415 MB / 374.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.05343, allocations: 155.5 kB / 374.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/0.05348, allocations: 12 kB / 374.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.05371, allocations: 44.02 kB / 374.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.0538, allocations: 52.34 kB / 374.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.05383, allocations: 19.98 kB / 374.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004911/0.05432, allocations: 0.5576 MB / 375.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05432, allocations: 0 / 375.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007719/0.05509, allocations: 307.9 kB / 375.5 MB, free: 12.09 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.001841/0.05693, allocations: 1.994 MB / 377.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.05811, allocations: 0.975 MB / 378.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.05811, allocations: 1.688 kB / 378.5 MB, free: 9.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005436/0.05866, allocations: 0.5405 MB / 379 MB, free: 8.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006697/0.05933, allocations: 214.8 kB / 379.2 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.06934, allocations: 10.14 MB / 389.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/0.07011, allocations: 1.148 MB / 390.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003513/0.07046, allocations: 203.1 kB / 390.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006064/0.07107, allocations: 0.6409 MB / 391.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of SimCode: time 1.243e-06/0.07107, allocations: 0 / 391.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03892/0.11, allocations: 25.99 MB / 417.3 MB, free: 2.051 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/7.941, allocations: 17.98 kB / 417.3 MB, free: 2.039 MB / 378.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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: 9.651366469450295]