Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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.0008284/0.0008284, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003717/0.003717, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8543/0.8543, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.018e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002352/0.002372, allocations: 2.065 MB / 300.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005958/0.002968, allocations: 491.5 kB / 301 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.003035, allocations: 4 kB / 301 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.8e-05/0.003133, allocations: 23.8 kB / 301 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.003197, allocations: 47.5 kB / 301.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.003392, allocations: 35.94 kB / 301.1 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.003532, allocations: 171.1 kB / 301.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.003658, allocations: 37.66 kB / 301.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003762, allocations: 87.8 kB / 301.4 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.003834, allocations: 47.88 kB / 301.4 MB, free: 496 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.003854, allocations: 16 kB / 301.4 MB, free: 480 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.854e-05/0.003903, allocations: 16 kB / 301.5 MB, free: 464 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.003927, allocations: 31.84 kB / 301.5 MB, free: 432 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.003963, allocations: 43.92 kB / 301.5 MB, free: 388 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.004134, allocations: 171.4 kB / 301.7 MB, free: 216 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004137, allocations: 4 kB / 301.7 MB, free: 212 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.004138, allocations: 0 / 301.7 MB, free: 212 kB / 282.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004142, allocations: 0 / 301.7 MB, free: 212 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.1149/0.119, allocations: 357.6 kB / 302.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1191, allocations: 15.86 kB / 302.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.1191, allocations: 49.89 kB / 302.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.511e-05/0.1192, allocations: 18.44 kB / 302.1 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1195, allocations: 145.5 kB / 302.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1195, allocations: 15.08 kB / 302.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1195, allocations: 10.09 kB / 302.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.1197, allocations: 145 kB / 302.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1197, allocations: 192 / 302.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1197, allocations: 7 kB / 302.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1197, allocations: 6.156 kB / 302.5 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1198, allocations: 76.67 kB / 302.5 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.1204, allocations: 471.2 kB / 303 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1206, allocations: 83.09 kB / 303.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.1206, allocations: 30.17 kB / 303.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.1206, allocations: 3.938 kB / 303.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.1206, allocations: 33.36 kB / 303.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.1206, allocations: 0 / 303.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004374/0.1211, allocations: 174 kB / 303.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.1211, allocations: 53.81 kB / 303.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.1212, allocations: 151.3 kB / 303.5 MB, free: 13.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.1212, allocations: 29.52 kB / 303.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.1212, allocations: 123.5 kB / 303.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.1213, allocations: 21.7 kB / 303.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.1213, allocations: 24.39 kB / 303.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.068e-05/0.1213, allocations: 324.7 kB / 304 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.1214, allocations: 24.14 kB / 304.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/0.1214, allocations: 45.06 kB / 304.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.1215, allocations: 70.72 kB / 304.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1215, allocations: 0 / 304.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001756/0.1217, allocations: 139 kB / 304.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1217, allocations: 5.438 kB / 304.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1217, allocations: 3.641 kB / 304.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.1218, allocations: 38.31 kB / 304.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.07e-05/0.1219, allocations: 12.92 kB / 304.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008386/0.1227, allocations: 1.57 MB / 305.9 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.1227, allocations: 15.77 kB / 305.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1228, allocations: 3.938 kB / 305.9 MB, free: 11.1 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.1228, allocations: 124.9 kB / 306.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.1228, allocations: 10.92 kB / 306.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.1228, allocations: 15.2 kB / 306.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1228, allocations: 5 kB / 306.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.1228, allocations: 3.938 kB / 306.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1228, allocations: 1.844 kB / 306.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.123, allocations: 173.6 kB / 306.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.123, allocations: 4.562 kB / 306.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.123, allocations: 4.922 kB / 306.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-05/0.1231, allocations: 34.77 kB / 306.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1231, allocations: 3.016 kB / 306.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006175/0.1237, allocations: 1.574 MB / 307.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1237, allocations: 4.062 kB / 307.9 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.1239, allocations: 214.9 kB / 308.1 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.1239, allocations: 12.31 kB / 308.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-06/0.1239, allocations: 1.125 kB / 308.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.25e-05/0.1239, allocations: 9.312 kB / 308.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.124, allocations: 10.08 kB / 308.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.124, allocations: 1.188 kB / 308.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.271e-05/0.124, allocations: 107.9 kB / 308.2 MB, free: 9.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.124, allocations: 0 / 308.2 MB, free: 9.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.1242, allocations: 46.61 kB / 308.3 MB, free: 9.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002558/0.1245, allocations: 0.7439 MB / 309 MB, free: 8.469 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.1248, allocations: 194.4 kB / 309.2 MB, free: 8.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1248, allocations: 0 / 309.2 MB, free: 8.328 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.1249, allocations: 152.8 kB / 309.4 MB, free: 8.203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.1251, allocations: 14.94 kB / 309.4 MB, free: 8.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1262, allocations: 1.695 MB / 311.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.32e-05/0.1263, allocations: 95.8 kB / 311.2 MB, free: 6.703 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.1263, allocations: 4.812 kB / 311.2 MB, free: 6.703 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.1263, allocations: 30.84 kB / 311.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1263, allocations: 4 kB / 311.2 MB, free: 6.676 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.1448, allocations: 3.631 MB / 314.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/7.825, allocations: 9.375 kB / 314.9 MB, free: 5.41 MB / 282.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatingResistor.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.csv. Warning: Get data of variable heatingResistor.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.csv failed! Error: Could not read variable heatingResistor.LossPower in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.csv. Warning: Get data of variable heatingResistor.LossPower from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.55908550042659]