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.00126/0.00126, allocations: 123 kB / 17.78 MB, free: 5.25 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.001263/0.001263, allocations: 197.2 kB / 20.73 MB, free: 2.309 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.443/1.443, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.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.001489/0.001489, allocations: 51.92 kB / 365.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01901/0.1248, allocations: 16.56 MB / 434.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009446/0.1343, allocations: 4.099 MB / 438.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003802/0.1381, allocations: 159.2 kB / 438.6 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01762/0.1557, allocations: 7.501 MB / 446.1 MB, free: 184 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2209/0.3765, allocations: 1.482 MB / 447.6 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.3791, allocations: 1.097 MB / 448.7 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008809/0.3879, allocations: 8.249 MB / 456.9 MB, free: 6.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02652/0.4145, allocations: 17.34 MB / 474.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007945/0.4224, allocations: 4.893 MB / 479.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009175/0.4316, allocations: 5.35 MB / 484.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003751/0.4353, allocations: 1.383 MB / 485.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005391/0.4407, allocations: 1.64 MB / 487.5 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003375/0.4441, allocations: 2.589 MB / 490.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00955/0.4537, allocations: 5.221 MB / 495.4 MB, free: 1.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0251/0.4788, allocations: 18.51 MB / 0.5018 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4788, allocations: 4 kB / 0.5018 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4788, allocations: 4 kB / 0.5018 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004884/0.4793, allocations: 0 / 0.5018 GB, free: 0.7852 MB / 398.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.03228/0.5115, allocations: 10.62 MB / 0.5122 GB, free: 6.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5116, allocations: 8.031 kB / 0.5122 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004341/0.5159, allocations: 1.298 MB / 0.5135 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01974/0.5357, allocations: 3.77 MB / 0.5172 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.5475, allocations: 5.372 MB / 0.5224 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000823/0.5484, allocations: 0.6889 MB / 0.5231 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003408/0.5518, allocations: 0.8936 MB / 0.524 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03453/0.5863, allocations: 12.72 MB / 0.5364 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003344/0.5866, allocations: 7.953 kB / 0.5364 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002565/0.5892, allocations: 381.8 kB / 0.5367 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004435/0.5897, allocations: 395.1 kB / 0.5371 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02616/0.6158, allocations: 11.41 MB / 0.5483 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08088/0.6967, allocations: 43.23 MB / 0.5905 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/0.7094, allocations: 10.27 MB / 0.6005 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.7122, allocations: 1.527 MB / 0.602 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.7125, allocations: 135.1 kB / 0.6021 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/0.7125, allocations: 63.97 kB / 0.6022 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=223): time 4.107e-06/0.7125, allocations: 0 / 0.6022 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=223): time 0.009928/0.7225, allocations: 4.668 MB / 0.6067 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.7225, allocations: 77.41 kB / 0.6068 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005929/0.7284, allocations: 2.93 MB / 0.6097 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.7286, allocations: 65.64 kB / 0.6097 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003446/0.7321, allocations: 3.981 MB / 0.6136 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008975/0.733, allocations: 0.8315 MB / 0.6144 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/0.7349, allocations: 0.9527 MB / 0.6154 GB, free: 11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.735, allocations: 301.1 kB / 0.6157 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003352/0.7384, allocations: 1.973 MB / 0.6176 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005171/0.7436, allocations: 4.156 MB / 0.6216 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008712/0.7523, allocations: 6.508 MB / 0.628 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.227e-05/0.7523, allocations: 20 kB / 0.628 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01161/0.764, allocations: 6.508 MB / 0.6344 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-05/0.764, allocations: 39.98 kB / 0.6344 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.7642, allocations: 72 kB / 0.6345 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.7652, allocations: 413.4 kB / 0.6349 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/0.7687, allocations: 1.065 MB / 0.6359 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4255/1.194, allocations: 4.381 MB / 0.6402 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/1.198, allocations: 0.6283 MB / 0.6408 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006015/1.199, allocations: 249.6 kB / 0.641 GB, free: 164.8 MB / 0.5294 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.005362/1.204, allocations: 3.367 MB / 0.6443 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007101/1.205, allocations: 286.8 kB / 0.6446 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006314/1.211, allocations: 3.572 MB / 0.6481 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004109/1.215, allocations: 2.803 MB / 0.6508 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.215, allocations: 3.438 kB / 0.6508 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.596e-05/1.215, allocations: 12.89 kB / 0.6508 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02109/1.236, allocations: 9.853 MB / 0.6605 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.236, allocations: 1.156 kB / 0.6605 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/1.239, allocations: 415.8 kB / 0.6609 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/1.24, allocations: 312.4 kB / 0.6612 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/1.24, allocations: 51.34 kB / 0.6612 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/1.245, allocations: 4.21 MB / 0.6653 GB, free: 157 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.245, allocations: 2.875 kB / 0.6653 GB, free: 157 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007214/1.252, allocations: 5.13 MB / 0.6703 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.253, allocations: 0.6189 MB / 0.6709 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006207/1.254, allocations: 35.94 kB / 0.671 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.255, allocations: 135.2 kB / 0.6711 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/1.256, allocations: 145.4 kB / 0.6712 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.256, allocations: 67.47 kB / 0.6713 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002539/1.258, allocations: 1.965 MB / 0.6732 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.258, allocations: 0 / 0.6732 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005249/1.264, allocations: 1.989 MB / 0.6752 GB, free: 153.3 MB / 0.5294 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.006635/1.27, allocations: 5.79 MB / 0.6808 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006029/1.276, allocations: 4.433 MB / 0.6852 GB, free: 149 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.276, allocations: 0 / 0.6852 GB, free: 149 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002023/1.278, allocations: 1.612 MB / 0.6867 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/1.281, allocations: 0.6769 MB / 0.6874 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05208/1.333, allocations: 40.17 MB / 0.7266 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007299/1.341, allocations: 5.644 MB / 0.7321 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003513/1.344, allocations: 1.698 MB / 0.7338 GB, free: 103 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003195/1.348, allocations: 2.729 MB / 0.7365 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.001e-06/1.348, allocations: 0 / 0.7365 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1452/1.493, allocations: 90.66 MB / 0.825 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.87, allocations: 7.5 kB / 0.825 GB, free: 9.992 MB / 0.5294 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.402443322818726]