Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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.0008502/0.0008502, allocations: 80.06 kB / 20.67 MB, free: 3.883 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.001307/0.001307, allocations: 153.1 kB / 23.93 MB, free: 0.625 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.9057/0.9057, allocations: 173.3 MB / 200.4 MB, free: 9.449 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.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.91e-05, allocations: 3.688 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01021/0.01024, allocations: 14.24 MB / 332.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.01635, allocations: 3.974 MB / 336.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.01756, allocations: 159.2 kB / 336.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006131/0.02369, allocations: 7.342 MB / 344.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.02635, allocations: 1.513 MB / 345.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.0278, allocations: 1.091 MB / 346.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005543/0.03334, allocations: 8.58 MB / 355.3 MB, free: 1.297 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01472/0.04806, allocations: 14.26 MB / 369.6 MB, free: 2.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006617/0.05468, allocations: 7.318 MB / 376.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00375/0.05843, allocations: 4.635 MB / 381.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.0598, allocations: 1.383 MB / 382.9 MB, free: 5.484 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.06139, allocations: 1.64 MB / 384.6 MB, free: 3.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.0627, allocations: 2.626 MB / 387.2 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002945/0.06564, allocations: 3.486 MB / 390.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.07853, allocations: 18.52 MB / 409.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.07853, allocations: 0 / 409.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.07854, allocations: 0 / 409.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003741/0.07891, allocations: 4 kB / 409.2 MB, free: 11.15 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.017/0.09591, allocations: 10.47 MB / 419.7 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.09596, allocations: 8.922 kB / 419.7 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001295/0.09725, allocations: 1.294 MB / 421 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008655/0.1059, allocations: 3.776 MB / 424.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006791/0.1127, allocations: 5.413 MB / 430.2 MB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/0.113, allocations: 0.6825 MB / 430.9 MB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/0.1141, allocations: 0.8906 MB / 431.7 MB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/0.131, allocations: 12.8 MB / 444.6 MB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.1311, allocations: 11.95 kB / 444.6 MB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005707/0.1317, allocations: 376 kB / 444.9 MB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002194/0.1319, allocations: 395.1 kB / 445.3 MB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2936/0.4255, allocations: 11.38 MB / 456.7 MB, free: 107.4 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03053/0.4561, allocations: 38.94 MB / 495.6 MB, free: 74.73 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004063/0.4601, allocations: 4.151 MB / 499.8 MB, free: 70.84 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.4613, allocations: 1.536 MB / 0.4896 GB, free: 69.31 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.4614, allocations: 52.84 kB / 0.4896 GB, free: 69.26 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.4615, allocations: 52.56 kB / 0.4897 GB, free: 69.2 MB / 410.8 MB Notification: Performance of pre-optimization done (n=223): time 4.048e-06/0.4615, allocations: 0 / 0.4897 GB, free: 69.2 MB / 410.8 MB Notification: Performance of matching and sorting (n=223): time 0.004424/0.4659, allocations: 4.594 MB / 0.4942 GB, free: 64.62 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.4659, allocations: 77.12 kB / 0.4942 GB, free: 64.53 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.4679, allocations: 3.067 MB / 0.4972 GB, free: 61.55 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-05/0.468, allocations: 61.7 kB / 0.4973 GB, free: 61.48 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008771/0.4688, allocations: 3.962 MB / 0.5012 GB, free: 57.88 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.4691, allocations: 0.8209 MB / 0.502 GB, free: 57.07 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006664/0.4698, allocations: 0.9449 MB / 0.5029 GB, free: 56.11 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.137e-05/0.4698, allocations: 309.1 kB / 0.5032 GB, free: 55.8 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.4712, allocations: 1.969 MB / 0.5051 GB, free: 53.83 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.4732, allocations: 4.157 MB / 0.5092 GB, free: 48.61 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00358/0.4767, allocations: 6.513 MB / 0.5155 GB, free: 41.04 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/0.4768, allocations: 20 kB / 0.5155 GB, free: 41.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.004873/0.4816, allocations: 6.508 MB / 0.5219 GB, free: 34.5 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.4817, allocations: 36 kB / 0.5219 GB, free: 34.47 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.164e-05/0.4817, allocations: 79.94 kB / 0.522 GB, free: 34.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/0.4822, allocations: 413.3 kB / 0.5224 GB, free: 33.98 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.4837, allocations: 1.061 MB / 0.5234 GB, free: 32.92 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.4864, allocations: 4.224 MB / 0.5276 GB, free: 28.58 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4879, allocations: 0.6325 MB / 0.5282 GB, free: 27.95 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.4881, allocations: 244 kB / 0.5284 GB, free: 27.71 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003158/0.4912, allocations: 3.373 MB / 0.5317 GB, free: 24.32 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.4915, allocations: 286.2 kB / 0.532 GB, free: 24.04 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.4943, allocations: 3.569 MB / 0.5355 GB, free: 20.45 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00212/0.4965, allocations: 2.799 MB / 0.5382 GB, free: 17.64 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4965, allocations: 7.984 kB / 0.5382 GB, free: 17.63 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.4965, allocations: 7.969 kB / 0.5382 GB, free: 17.62 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008288/0.5048, allocations: 9.579 MB / 0.5476 GB, free: 8.012 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5048, allocations: 0 / 0.5476 GB, free: 8.012 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/0.5055, allocations: 411.4 kB / 0.548 GB, free: 7.609 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003555/0.5059, allocations: 320.7 kB / 0.5483 GB, free: 7.293 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.399e-05/0.506, allocations: 43.94 kB / 0.5483 GB, free: 7.25 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.5084, allocations: 4.031 MB / 0.5522 GB, free: 3.109 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5084, allocations: 4 kB / 0.5522 GB, free: 3.105 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/0.5125, allocations: 5.126 MB / 0.5573 GB, free: 13.95 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/0.5132, allocations: 0.5561 MB / 0.5578 GB, free: 13.39 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.5134, allocations: 43.95 kB / 0.5578 GB, free: 13.34 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009362/0.5143, allocations: 135.8 kB / 0.558 GB, free: 13.21 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.5145, allocations: 153.7 kB / 0.5581 GB, free: 13.06 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.52e-05/0.5146, allocations: 68.05 kB / 0.5582 GB, free: 12.99 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001836/0.5164, allocations: 1.963 MB / 0.5601 GB, free: 11.02 MB / 426.8 MB Notification: Performance of sort global known variables: time 4e-08/0.5164, allocations: 0 / 0.5601 GB, free: 11.02 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.003488/0.5199, allocations: 1.984 MB / 0.562 GB, free: 9.027 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005145/0.525, allocations: 5.792 MB / 0.5677 GB, free: 3.191 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004775/0.5298, allocations: 4.433 MB / 0.572 GB, free: 14.75 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5298, allocations: 2 kB / 0.572 GB, free: 14.75 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.5316, allocations: 1.616 MB / 0.5736 GB, free: 13.12 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.5333, allocations: 0.6766 MB / 0.5743 GB, free: 12.47 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04105/0.5743, allocations: 40.22 MB / 0.6135 GB, free: 1.586 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1438/0.7182, allocations: 5.175 MB / 0.6186 GB, free: 161.3 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002489/0.7207, allocations: 1.701 MB / 0.6202 GB, free: 161.2 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002191/0.7229, allocations: 2.732 MB / 0.6229 GB, free: 159.5 MB / 474.8 MB Notification: Performance of SimCode: time 1.382e-06/0.7229, allocations: 0 / 0.6229 GB, free: 159.5 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08055/0.8034, allocations: 91.41 MB / 0.7122 GB, free: 76.86 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.241/10.04, allocations: 11.98 kB / 0.7122 GB, free: 76.84 MB / 474.8 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.plug_p.reference.gamma in file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.865869231522083]