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.001752/0.001752, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002136/0.002136, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001565/0.001565, allocations: 47.92 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2895, allocations: 53.35 MB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01978/0.3093, allocations: 16.61 MB / 447.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009692/0.3189, allocations: 4.169 MB / 451.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/0.3222, allocations: 163.2 kB / 452.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01706/0.3393, allocations: 7.512 MB / 459.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.3457, allocations: 1.367 MB / 461 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.3496, allocations: 1.26 MB / 462.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01145/0.3611, allocations: 8.304 MB / 470.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0275/0.3886, allocations: 14.37 MB / 484.9 MB, free: 0.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01009/0.3987, allocations: 4.91 MB / 489.8 MB, free: 11.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.4089, allocations: 5.357 MB / 495.2 MB, free: 6.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004651/0.4136, allocations: 1.379 MB / 496.5 MB, free: 5.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006294/0.4198, allocations: 1.671 MB / 498.2 MB, free: 3.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004561/0.4244, allocations: 2.595 MB / 0.4891 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009484/0.4339, allocations: 5.211 MB / 0.4942 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02516/0.4591, allocations: 18.36 MB / 0.5121 GB, free: 9.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.4591, allocations: 0 / 0.5121 GB, free: 9.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4591, allocations: 0 / 0.5121 GB, free: 9.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005257/0.4596, allocations: 0 / 0.5121 GB, free: 9.148 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.03264/0.4922, allocations: 10.55 MB / 0.5224 GB, free: 14.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/0.4923, allocations: 12.03 kB / 0.5224 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0049/0.4972, allocations: 1.291 MB / 0.5237 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02055/0.5177, allocations: 3.714 MB / 0.5273 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/0.5315, allocations: 5.425 MB / 0.5326 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007664/0.5323, allocations: 0.6862 MB / 0.5333 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003674/0.536, allocations: 0.8867 MB / 0.5341 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.462/0.998, allocations: 12.74 MB / 0.5466 GB, free: 84.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002231/0.9982, allocations: 10.73 kB / 0.5466 GB, free: 84.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001608/0.9998, allocations: 376.4 kB / 0.5469 GB, free: 83.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002655/1, allocations: 402.5 kB / 0.5473 GB, free: 83.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01982/1.02, allocations: 11.43 MB / 0.5585 GB, free: 78.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05854/1.078, allocations: 42.37 MB / 0.5999 GB, free: 35.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006506/1.085, allocations: 4.215 MB / 0.604 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/1.087, allocations: 1.527 MB / 0.6055 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/1.087, allocations: 89.02 kB / 0.6055 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/1.087, allocations: 56.56 kB / 0.6056 GB, free: 30.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.498e-06/1.087, allocations: 0 / 0.6056 GB, free: 30.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.006874/1.094, allocations: 4.601 MB / 0.6101 GB, free: 25.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/1.094, allocations: 77.34 kB / 0.6102 GB, free: 25.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/1.097, allocations: 2.926 MB / 0.613 GB, free: 22.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/1.097, allocations: 61.7 kB / 0.6131 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/1.098, allocations: 3.975 MB / 0.617 GB, free: 19.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/1.099, allocations: 0.8302 MB / 0.6178 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009666/1.1, allocations: 0.9605 MB / 0.6187 GB, free: 17.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.472e-05/1.1, allocations: 309.1 kB / 0.619 GB, free: 16.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/1.102, allocations: 1.973 MB / 0.6209 GB, free: 14.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002869/1.105, allocations: 4.165 MB / 0.625 GB, free: 9.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005482/1.11, allocations: 6.513 MB / 0.6314 GB, free: 2.184 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.644e-05/1.11, allocations: 20 kB / 0.6314 GB, free: 2.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01058/1.121, allocations: 6.532 MB / 0.6378 GB, free: 11.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.045e-05/1.121, allocations: 36 kB / 0.6378 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/1.121, allocations: 76 kB / 0.6379 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009319/1.122, allocations: 416.6 kB / 0.6383 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/1.126, allocations: 1.065 MB / 0.6393 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005679/1.131, allocations: 4.288 MB / 0.6435 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003752/1.135, allocations: 0.6403 MB / 0.6441 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006795/1.136, allocations: 244 kB / 0.6444 GB, free: 4.758 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.005955/1.142, allocations: 3.373 MB / 0.6476 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006833/1.142, allocations: 286.2 kB / 0.6479 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006042/1.148, allocations: 3.561 MB / 0.6514 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00433/1.153, allocations: 2.815 MB / 0.6541 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.153, allocations: 4 kB / 0.6541 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/1.153, allocations: 15.94 kB / 0.6542 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/1.17, allocations: 9.908 MB / 0.6638 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.17, allocations: 4 kB / 0.6638 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.171, allocations: 411.4 kB / 0.6642 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007439/1.172, allocations: 316.7 kB / 0.6645 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/1.172, allocations: 55.92 kB / 0.6646 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005095/1.177, allocations: 4.095 MB / 0.6686 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.177, allocations: 4 kB / 0.6686 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008137/1.186, allocations: 5.146 MB / 0.6736 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.187, allocations: 0.5561 MB / 0.6742 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004142/1.188, allocations: 47.98 kB / 0.6742 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.189, allocations: 123.8 kB / 0.6743 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/1.189, allocations: 161.8 kB / 0.6745 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.189, allocations: 67.92 kB / 0.6745 GB, free: 5.586 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003375/1.192, allocations: 1.963 MB / 0.6765 GB, free: 3.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.192, allocations: 0 / 0.6765 GB, free: 3.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005702/1.198, allocations: 1.988 MB / 0.6784 GB, free: 1.617 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.009277/1.207, allocations: 5.801 MB / 0.6841 GB, free: 11.77 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.008529/1.216, allocations: 4.444 MB / 0.6884 GB, free: 7.324 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.216, allocations: 0 / 0.6884 GB, free: 7.324 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002858/1.219, allocations: 1.618 MB / 0.69 GB, free: 5.695 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/1.222, allocations: 0.6804 MB / 0.6907 GB, free: 5.031 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0729/1.295, allocations: 40.29 MB / 0.73 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00967/1.305, allocations: 5.649 MB / 0.7355 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004338/1.309, allocations: 1.698 MB / 0.7372 GB, free: 2.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2315/1.54, allocations: 2.737 MB / 0.7398 GB, free: 181 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/1.54, allocations: 0 / 0.7398 GB, free: 181 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1385/1.679, allocations: 94.96 MB / 0.8326 GB, free: 106.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/19.29, allocations: 4.062 kB / 0.8326 GB, free: 106.3 MB / 0.545 GB " [Timeout remaining time 641] (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: 21.91683538899815]