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.001678/0.001678, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001447/0.001447, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.485/1.485, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001473/0.001473, allocations: 51.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1107, allocations: 53.33 MB / 426.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.2171/0.3279, allocations: 16.57 MB / 442.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009334/0.3372, allocations: 4.155 MB / 447.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004222/0.3414, allocations: 161.7 kB / 447.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01816/0.3596, allocations: 7.497 MB / 454.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006706/0.3663, allocations: 1.333 MB / 456 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.3706, allocations: 1.242 MB / 457.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01177/0.3823, allocations: 8.257 MB / 465.5 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03141/0.4138, allocations: 17.33 MB / 482.9 MB, free: 8.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009298/0.4231, allocations: 4.902 MB / 487.8 MB, free: 3.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009486/0.4325, allocations: 5.35 MB / 493.1 MB, free: 13.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004039/0.4366, allocations: 1.383 MB / 494.5 MB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005528/0.4421, allocations: 1.664 MB / 496.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004176/0.4463, allocations: 2.58 MB / 498.7 MB, free: 8.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009048/0.4553, allocations: 5.222 MB / 0.4922 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02273/0.4781, allocations: 18.36 MB / 0.5101 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4781, allocations: 0 / 0.5101 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4781, allocations: 0 / 0.5101 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005415/0.4786, allocations: 0 / 0.5101 GB, free: 0.6836 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.03243/0.511, allocations: 10.62 MB / 0.5205 GB, free: 5.965 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5111, allocations: 12.03 kB / 0.5205 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004109/0.5152, allocations: 1.298 MB / 0.5217 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02069/0.5359, allocations: 3.698 MB / 0.5254 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.5471, allocations: 5.387 MB / 0.5306 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007236/0.5479, allocations: 0.6857 MB / 0.5313 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003277/0.5511, allocations: 0.8828 MB / 0.5321 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03336/0.5845, allocations: 12.74 MB / 0.5446 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000228/0.5847, allocations: 7.953 kB / 0.5446 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001966/0.5867, allocations: 376 kB / 0.545 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004119/0.5871, allocations: 403.1 kB / 0.5453 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/0.6116, allocations: 11.43 MB / 0.5565 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07562/0.6873, allocations: 43.72 MB / 0.5992 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/0.6992, allocations: 10.28 MB / 0.6092 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002698/0.7019, allocations: 1.532 MB / 0.6107 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.7023, allocations: 236 kB / 0.611 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/0.7023, allocations: 60.56 kB / 0.611 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 3.687e-06/0.7023, allocations: 0 / 0.611 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.009228/0.7116, allocations: 4.684 MB / 0.6156 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.7116, allocations: 77.41 kB / 0.6157 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3852/1.097, allocations: 2.925 MB / 0.6185 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003542/1.097, allocations: 60.8 kB / 0.6186 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002129/1.099, allocations: 3.981 MB / 0.6225 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008878/1.1, allocations: 0.8219 MB / 0.6233 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/1.102, allocations: 0.9655 MB / 0.6242 GB, free: 150 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.462e-05/1.102, allocations: 301.1 kB / 0.6245 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00303/1.105, allocations: 1.976 MB / 0.6264 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004051/1.109, allocations: 4.161 MB / 0.6305 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/1.117, allocations: 6.521 MB / 0.6369 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001275/1.117, allocations: 21.44 kB / 0.6369 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01165/1.129, allocations: 6.524 MB / 0.6432 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/1.129, allocations: 38.44 kB / 0.6433 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001415/1.129, allocations: 78 kB / 0.6434 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009398/1.13, allocations: 412.3 kB / 0.6437 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/1.133, allocations: 1.063 MB / 0.6448 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/1.138, allocations: 4.384 MB / 0.6491 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/1.142, allocations: 0.6285 MB / 0.6497 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006893/1.142, allocations: 249.3 kB / 0.6499 GB, free: 134.7 MB / 0.5138 GB 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.004866/1.147, allocations: 3.367 MB / 0.6532 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006727/1.148, allocations: 290.5 kB / 0.6535 GB, free: 133 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/1.153, allocations: 3.57 MB / 0.657 GB, free: 131.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00349/1.157, allocations: 2.813 MB / 0.6597 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.157, allocations: 9.281 kB / 0.6597 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/1.157, allocations: 11.44 kB / 0.6597 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/1.172, allocations: 9.874 MB / 0.6694 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.172, allocations: 3.891 kB / 0.6694 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/1.173, allocations: 421.2 kB / 0.6698 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006613/1.174, allocations: 315.3 kB / 0.6701 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/1.174, allocations: 49.72 kB / 0.6701 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003749/1.178, allocations: 4.2 MB / 0.6742 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.178, allocations: 4 kB / 0.6742 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005633/1.183, allocations: 5.151 MB / 0.6793 GB, free: 118.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.184, allocations: 0.6157 MB / 0.6799 GB, free: 118.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/1.185, allocations: 40 kB / 0.6799 GB, free: 118.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.186, allocations: 127.8 kB / 0.68 GB, free: 118 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/1.186, allocations: 157.8 kB / 0.6802 GB, free: 117.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/1.186, allocations: 65.11 kB / 0.6802 GB, free: 117.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002355/1.189, allocations: 1.963 MB / 0.6822 GB, free: 115.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.189, allocations: 4 kB / 0.6822 GB, free: 115.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004685/1.193, allocations: 1.984 MB / 0.6841 GB, free: 113.8 MB / 0.5138 GB 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.00585/1.199, allocations: 5.803 MB / 0.6898 GB, free: 108 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.005884/1.205, allocations: 4.445 MB / 0.6941 GB, free: 103.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.205, allocations: 0 / 0.6941 GB, free: 103.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/1.207, allocations: 1.617 MB / 0.6957 GB, free: 101.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/1.21, allocations: 0.6799 MB / 0.6964 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05191/1.262, allocations: 40.13 MB / 0.7355 GB, free: 58.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00467/1.267, allocations: 5.646 MB / 0.7411 GB, free: 52.82 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003365/1.27, allocations: 1.698 MB / 0.7427 GB, free: 51.12 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002821/1.273, allocations: 2.745 MB / 0.7454 GB, free: 48.38 MB / 0.5138 GB Notification: Performance of SimCode: time 1.704e-06/1.273, allocations: 0 / 0.7454 GB, free: 48.38 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3437/1.617, allocations: 90.78 MB / 0.8341 GB, free: 156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/17.71, allocations: 11.27 kB / 0.8341 GB, free: 156 MB / 0.545 GB " [Timeout remaining time 642] (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: 20.33039891999215]