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.0008539/0.0008539, 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.005824/0.005824, allocations: 164 kB / 24.69 MB, free: 9.414 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.9122/0.9122, allocations: 158.6 MB / 186.5 MB, free: 3.031 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.373e-06/1.373e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.874e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002361/0.00238, allocations: 2.065 MB / 300.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007275/0.003107, allocations: 479.6 kB / 301 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.003183, allocations: 8 kB / 301 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.763e-05/0.003281, allocations: 19.78 kB / 301 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.003349, allocations: 55.48 kB / 301.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.003549, allocations: 39.89 kB / 301.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.003698, allocations: 163.1 kB / 301.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.003841, allocations: 41.64 kB / 301.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.003953, allocations: 91.75 kB / 301.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.004026, allocations: 43.88 kB / 301.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.004046, allocations: 16 kB / 301.4 MB, free: 496 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.303e-05/0.004099, allocations: 20 kB / 301.5 MB, free: 476 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.004124, allocations: 35.83 kB / 301.5 MB, free: 440 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.004162, allocations: 39.92 kB / 301.5 MB, free: 400 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.004338, allocations: 171.4 kB / 301.7 MB, free: 228 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.00434, allocations: 0 / 301.7 MB, free: 228 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004341, allocations: 0 / 301.7 MB, free: 228 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.004346, allocations: 0 / 301.7 MB, free: 228 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.1328/0.1372, allocations: 362.6 kB / 302.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.1372, allocations: 15.11 kB / 302.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.1373, allocations: 44.55 kB / 302.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.669e-05/0.1374, allocations: 17.28 kB / 302.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.1376, allocations: 149 kB / 302.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1376, allocations: 12.33 kB / 302.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1376, allocations: 10.16 kB / 302.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.1379, allocations: 145.7 kB / 302.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1379, allocations: 0.7031 kB / 302.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1379, allocations: 2.594 kB / 302.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.1379, allocations: 6.094 kB / 302.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.138, allocations: 77.97 kB / 302.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.1386, allocations: 473.5 kB / 303 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1388, allocations: 83.55 kB / 303.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.1388, allocations: 28.58 kB / 303.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1388, allocations: 5.031 kB / 303.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.1389, allocations: 39.7 kB / 303.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1389, allocations: 0 / 303.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003961/0.1393, allocations: 175.3 kB / 303.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.694e-05/0.1393, allocations: 54.72 kB / 303.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.1393, allocations: 147.5 kB / 303.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-06/0.1394, allocations: 26.92 kB / 303.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.1394, allocations: 127.3 kB / 303.7 MB, free: 12.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.958e-06/0.1394, allocations: 17.48 kB / 303.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.1394, allocations: 29.62 kB / 303.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.954e-05/0.1395, allocations: 324.9 kB / 304 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.735e-05/0.1395, allocations: 21.02 kB / 304 MB, free: 12.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-05/0.1395, allocations: 45.89 kB / 304.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.019e-05/0.1396, allocations: 73.27 kB / 304.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1396, allocations: 0 / 304.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001562/0.1398, allocations: 134.3 kB / 304.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1398, allocations: 9.219 kB / 304.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1398, allocations: 1.219 kB / 304.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.1399, allocations: 40.2 kB / 304.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.523e-05/0.14, allocations: 11.92 kB / 304.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007897/0.1407, allocations: 1.569 MB / 305.9 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.1408, allocations: 17.44 kB / 305.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.1408, allocations: 2.344 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.572e-05/0.1409, allocations: 122.1 kB / 306.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.1409, allocations: 10.06 kB / 306.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.147e-05/0.1409, allocations: 16.67 kB / 306.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1409, allocations: 5.125 kB / 306.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1409, allocations: 4.922 kB / 306.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1409, allocations: 0 / 306.1 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.141, allocations: 172.3 kB / 306.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.141, allocations: 6.016 kB / 306.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.141, allocations: 4.453 kB / 306.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.633e-05/0.1411, allocations: 35.31 kB / 306.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1411, allocations: 0.875 kB / 306.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006012/0.1417, allocations: 1.571 MB / 307.9 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1417, allocations: 5.344 kB / 307.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.1419, allocations: 217.3 kB / 308.1 MB, free: 9.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.1419, allocations: 12.27 kB / 308.1 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-06/0.1419, allocations: 0 / 308.1 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.25e-05/0.1419, allocations: 9.234 kB / 308.1 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.142, allocations: 9.844 kB / 308.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.142, allocations: 4.5 kB / 308.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.37e-05/0.142, allocations: 107.7 kB / 308.2 MB, free: 9.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.142, allocations: 0 / 308.2 MB, free: 9.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.1422, allocations: 47.2 kB / 308.3 MB, free: 9.164 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.0002688/0.1425, allocations: 0.7411 MB / 309 MB, free: 8.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.1428, allocations: 191.1 kB / 309.2 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1428, allocations: 1.25 kB / 309.2 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.367e-05/0.1429, allocations: 157 kB / 309.4 MB, free: 8.207 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.1431, allocations: 17.55 kB / 309.4 MB, free: 8.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1442, allocations: 1.687 MB / 311.1 MB, free: 6.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.989e-05/0.1442, allocations: 97.55 kB / 311.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.378e-05/0.1442, allocations: 4.812 kB / 311.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.1443, allocations: 34.5 kB / 311.2 MB, free: 6.684 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1443, allocations: 4 kB / 311.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.1612, allocations: 3.638 MB / 314.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.618, allocations: 5.312 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.288148703053594]