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.001887/0.001887, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 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.002298/0.002298, allocations: 187.7 kB / 23.7 MB, free: 4.191 MB / 14.72 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 1.482/1.482, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001714/0.001714, allocations: 51.91 kB / 370.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2317, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01864/0.2504, allocations: 14.24 MB / 436.8 MB, free: 80 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008627/0.259, allocations: 3.978 MB / 440.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.2607, allocations: 159.2 kB / 441 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01706/0.2778, allocations: 6.908 MB / 447.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005729/0.2835, allocations: 1.487 MB / 449.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.2866, allocations: 1.089 MB / 450.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.2967, allocations: 8.304 MB / 458.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02352/0.3203, allocations: 14.22 MB / 473 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006815/0.3271, allocations: 4.91 MB / 477.9 MB, free: 6.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008443/0.3355, allocations: 5.174 MB / 483.1 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002858/0.3384, allocations: 1.383 MB / 484.4 MB, free: 188 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.3423, allocations: 1.636 MB / 486.1 MB, free: 14.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002985/0.3453, allocations: 2.588 MB / 488.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006538/0.3518, allocations: 4.039 MB / 492.7 MB, free: 7.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02035/0.3721, allocations: 18.43 MB / 0.4992 GB, free: 5.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3721, allocations: 0 / 0.4992 GB, free: 5.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3721, allocations: 0 / 0.4992 GB, free: 5.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000355/0.3725, allocations: 0 / 0.4992 GB, free: 5.41 MB / 414.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.02708/0.3996, allocations: 10.54 MB / 0.5094 GB, free: 10.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3996, allocations: 16.03 kB / 0.5095 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002293/0.4019, allocations: 1.291 MB / 0.5107 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01873/0.4207, allocations: 3.776 MB / 0.5144 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/0.4332, allocations: 5.421 MB / 0.5197 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000712/0.4339, allocations: 0.6824 MB / 0.5204 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002428/0.4363, allocations: 0.8945 MB / 0.5212 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02874/0.4651, allocations: 12.79 MB / 0.5337 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002342/0.4653, allocations: 19.89 kB / 0.5338 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001525/0.4668, allocations: 376 kB / 0.5341 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004183/0.4672, allocations: 399.1 kB / 0.5345 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3616/0.8289, allocations: 11.38 MB / 0.5456 GB, free: 95.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04758/0.8765, allocations: 38.92 MB / 0.5836 GB, free: 58.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006659/0.8831, allocations: 4.15 MB / 0.5877 GB, free: 54.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.8848, allocations: 1.527 MB / 0.5892 GB, free: 53.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.8849, allocations: 56.55 kB / 0.5892 GB, free: 53.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.885, allocations: 56.56 kB / 0.5893 GB, free: 53.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.24e-06/0.885, allocations: 4 kB / 0.5893 GB, free: 53.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.006813/0.8918, allocations: 4.583 MB / 0.5937 GB, free: 48.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.8918, allocations: 73.41 kB / 0.5938 GB, free: 48.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/0.8954, allocations: 3.071 MB / 0.5968 GB, free: 45.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.8955, allocations: 61.7 kB / 0.5969 GB, free: 45.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.8969, allocations: 3.977 MB / 0.6008 GB, free: 41.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/0.8973, allocations: 0.8326 MB / 0.6016 GB, free: 40.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.8984, allocations: 0.9527 MB / 0.6025 GB, free: 39.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.279e-05/0.8984, allocations: 309.1 kB / 0.6028 GB, free: 39.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.9006, allocations: 1.969 MB / 0.6047 GB, free: 37.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/0.9035, allocations: 4.161 MB / 0.6088 GB, free: 32.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005273/0.9087, allocations: 6.505 MB / 0.6151 GB, free: 24.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.509e-05/0.9088, allocations: 24 kB / 0.6152 GB, free: 24.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007933/0.9167, allocations: 6.507 MB / 0.6215 GB, free: 18.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.9168, allocations: 36 kB / 0.6215 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-05/0.9169, allocations: 76 kB / 0.6216 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007663/0.9176, allocations: 412.7 kB / 0.622 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00287/0.9205, allocations: 1.068 MB / 0.6231 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003885/0.9244, allocations: 4.214 MB / 0.6272 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.9272, allocations: 0.6364 MB / 0.6278 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003465/0.9276, allocations: 244 kB / 0.628 GB, free: 11.52 MB / 446.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.003824/0.9314, allocations: 3.369 MB / 0.6313 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/0.9319, allocations: 286.2 kB / 0.6316 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/0.9364, allocations: 3.581 MB / 0.6351 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003148/0.9396, allocations: 2.792 MB / 0.6378 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.9396, allocations: 8 kB / 0.6378 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.9396, allocations: 15.89 kB / 0.6378 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01901/0.9586, allocations: 9.58 MB / 0.6472 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.9586, allocations: 0 / 0.6472 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/0.9607, allocations: 419.5 kB / 0.6476 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008906/0.9616, allocations: 312.6 kB / 0.6479 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/0.9617, allocations: 47.92 kB / 0.6479 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00563/0.9674, allocations: 4.033 MB / 0.6519 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.9674, allocations: 4 kB / 0.6519 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007924/0.9753, allocations: 5.119 MB / 0.6569 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/0.9768, allocations: 0.5561 MB / 0.6574 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005505/0.9774, allocations: 48 kB / 0.6575 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.9788, allocations: 139.8 kB / 0.6576 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.9791, allocations: 153.7 kB / 0.6577 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/0.9793, allocations: 63.98 kB / 0.6578 GB, free: 12.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00393/0.9832, allocations: 1.959 MB / 0.6597 GB, free: 10.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9832, allocations: 4 kB / 0.6597 GB, free: 10.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006261/0.9895, allocations: 1.988 MB / 0.6617 GB, free: 8.82 MB / 478.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.00916/0.9986, allocations: 5.788 MB / 0.6673 GB, free: 2.984 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007782/1.006, allocations: 4.426 MB / 0.6716 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.006, allocations: 4.188 kB / 0.6716 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002656/1.009, allocations: 1.614 MB / 0.6732 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/1.013, allocations: 0.6907 MB / 0.6739 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07389/1.086, allocations: 40.3 MB / 0.7132 GB, free: 1.297 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00958/1.096, allocations: 5.18 MB / 0.7183 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004621/1.101, allocations: 1.702 MB / 0.72 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004672/1.105, allocations: 2.729 MB / 0.7226 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/1.105, allocations: 0 / 0.7226 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3327/1.438, allocations: 91.48 MB / 0.812 GB, free: 143.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/16.49, allocations: 6.859 kB / 0.812 GB, free: 143.6 MB / 0.545 GB " [Timeout remaining time 643] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/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: 19.103427373804152]