Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.0019/0.0019, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00235/0.00235, allocations: 213.7 kB / 23.72 MB, free: 4.531 MB / 14.72 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 1.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 43.92 kB / 377.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2164, allocations: 53.36 MB / 431.1 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01804/0.2344, allocations: 14.26 MB / 445.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008791/0.2432, allocations: 4.021 MB / 449.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.2458, allocations: 163.2 kB / 449.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01688/0.2626, allocations: 6.918 MB / 456.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005657/0.2683, allocations: 1.347 MB / 457.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.2717, allocations: 1.224 MB / 459 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01013/0.2818, allocations: 8.304 MB / 467.3 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02341/0.3052, allocations: 14.36 MB / 481.7 MB, free: 3.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006794/0.312, allocations: 4.918 MB / 486.6 MB, free: 14.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008666/0.3207, allocations: 5.357 MB / 492 MB, free: 9.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003279/0.3239, allocations: 1.383 MB / 493.3 MB, free: 8.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004222/0.3282, allocations: 1.664 MB / 495 MB, free: 6.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003124/0.3313, allocations: 2.591 MB / 497.6 MB, free: 3.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00597/0.3373, allocations: 4.047 MB / 0.4899 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01999/0.3572, allocations: 18.44 MB / 0.5079 GB, free: 13.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3572, allocations: 0 / 0.5079 GB, free: 13.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3573, allocations: 0 / 0.5079 GB, free: 13.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003456/0.3576, allocations: 0 / 0.5079 GB, free: 13.27 MB / 430.1 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.02798/0.3856, allocations: 10.55 MB / 0.5182 GB, free: 2.641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3856, allocations: 8.031 kB / 0.5182 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002917/0.3885, allocations: 1.298 MB / 0.5195 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01911/0.4076, allocations: 3.706 MB / 0.5231 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.4202, allocations: 5.433 MB / 0.5284 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006641/0.4208, allocations: 0.6785 MB / 0.5291 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00237/0.4232, allocations: 0.8867 MB / 0.5299 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3615/0.7847, allocations: 12.81 MB / 0.5424 GB, free: 86.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/0.7849, allocations: 10.33 kB / 0.5425 GB, free: 86.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009175/0.7858, allocations: 379.8 kB / 0.5428 GB, free: 86.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002439/0.7861, allocations: 396.7 kB / 0.5432 GB, free: 86.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01733/0.8034, allocations: 11.4 MB / 0.5543 GB, free: 81.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04754/0.8509, allocations: 38.97 MB / 0.5924 GB, free: 43.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007154/0.8581, allocations: 4.171 MB / 0.5965 GB, free: 39.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.8598, allocations: 1.534 MB / 0.598 GB, free: 37.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.86, allocations: 69.94 kB / 0.598 GB, free: 37.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.8601, allocations: 60.5 kB / 0.5981 GB, free: 37.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.109e-06/0.8601, allocations: 0 / 0.5981 GB, free: 37.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.006853/0.8669, allocations: 4.597 MB / 0.6026 GB, free: 32.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.867, allocations: 81.34 kB / 0.6026 GB, free: 32.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/0.8701, allocations: 3.067 MB / 0.6056 GB, free: 29.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.8702, allocations: 61.7 kB / 0.6057 GB, free: 29.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.8716, allocations: 3.975 MB / 0.6096 GB, free: 26.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/0.872, allocations: 0.8314 MB / 0.6104 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.873, allocations: 0.9605 MB / 0.6113 GB, free: 24.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.026e-05/0.8731, allocations: 301.1 kB / 0.6116 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.8752, allocations: 1.976 MB / 0.6135 GB, free: 22.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/0.8779, allocations: 4.161 MB / 0.6176 GB, free: 16.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005182/0.8831, allocations: 6.517 MB / 0.624 GB, free: 9.355 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.296e-05/0.8832, allocations: 24 kB / 0.624 GB, free: 9.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007978/0.8912, allocations: 6.524 MB / 0.6304 GB, free: 2.797 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/0.8912, allocations: 36 kB / 0.6304 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-05/0.8913, allocations: 83.94 kB / 0.6305 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007396/0.892, allocations: 408.8 kB / 0.6309 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/0.895, allocations: 1.065 MB / 0.6319 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005294/0.9003, allocations: 4.221 MB / 0.636 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/0.9035, allocations: 0.6364 MB / 0.6367 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005182/0.904, allocations: 252 kB / 0.6369 GB, free: 11.99 MB / 462.1 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.00522/0.9092, allocations: 3.369 MB / 0.6402 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005902/0.9098, allocations: 286.2 kB / 0.6405 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00606/0.9159, allocations: 3.565 MB / 0.6439 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004562/0.9205, allocations: 2.807 MB / 0.6467 GB, free: 1.914 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.9205, allocations: 4 kB / 0.6467 GB, free: 1.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.9205, allocations: 7.969 kB / 0.6467 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/0.9384, allocations: 9.606 MB / 0.6561 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.9384, allocations: 3.938 kB / 0.6561 GB, free: 8.242 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.94, allocations: 419.4 kB / 0.6565 GB, free: 7.832 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007336/0.9407, allocations: 312.7 kB / 0.6568 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.9409, allocations: 51.98 kB / 0.6568 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005357/0.9462, allocations: 4.037 MB / 0.6608 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.9462, allocations: 0 / 0.6608 GB, free: 3.324 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008099/0.9543, allocations: 5.154 MB / 0.6658 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/0.9559, allocations: 0.556 MB / 0.6663 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.9563, allocations: 36 kB / 0.6664 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.9574, allocations: 135.8 kB / 0.6665 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/0.9577, allocations: 153.7 kB / 0.6667 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/0.9579, allocations: 67.98 kB / 0.6667 GB, free: 13.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002987/0.9609, allocations: 1.967 MB / 0.6686 GB, free: 11.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9609, allocations: 4 kB / 0.6686 GB, free: 11.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005009/0.9659, allocations: 1.992 MB / 0.6706 GB, free: 9.215 MB / 494.1 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.008643/0.9745, allocations: 5.788 MB / 0.6762 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00768/0.9822, allocations: 4.44 MB / 0.6806 GB, free: 14.94 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.9822, allocations: 0 / 0.6806 GB, free: 14.94 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002781/0.985, allocations: 1.623 MB / 0.6822 GB, free: 13.3 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/0.9882, allocations: 0.6852 MB / 0.6828 GB, free: 12.63 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06675/1.055, allocations: 40.28 MB / 0.7222 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006716/1.062, allocations: 5.172 MB / 0.7272 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00405/1.066, allocations: 1.69 MB / 0.7289 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004025/1.07, allocations: 2.741 MB / 0.7315 GB, free: 8.035 MB / 0.545 GB Notification: Performance of SimCode: time 1.423e-06/1.07, allocations: 0 / 0.7315 GB, free: 8.035 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3252/1.395, allocations: 94.3 MB / 0.8236 GB, free: 118.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/16.37, allocations: 64 / 0.8236 GB, free: 118.3 MB / 0.545 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.961853746994166]