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.001922/0.001922, allocations: 95.53 kB / 21.73 MB, free: 2.691 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.002439/0.002439, allocations: 170.3 kB / 25.03 MB, free: 8.41 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 1.305/1.305, allocations: 158.6 MB / 186.8 MB, free: 2.891 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: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.105e-05, allocations: 5.406 kB / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003793/0.003824, allocations: 2.139 MB / 252.5 MB, free: 1.781 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.004854, allocations: 0.4956 MB / 253 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.633e-05/0.004951, allocations: 0 / 253 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.005086, allocations: 23.78 kB / 253 MB, free: 1.254 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.005202, allocations: 51.5 kB / 253.1 MB, free: 1.203 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.005441, allocations: 39.94 kB / 253.1 MB, free: 1.164 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.005669, allocations: 167.1 kB / 253.3 MB, free: 1 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.005807, allocations: 37.62 kB / 253.3 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.005997, allocations: 103.7 kB / 253.4 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.006117, allocations: 47.88 kB / 253.5 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.006149, allocations: 12 kB / 253.5 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/0.006223, allocations: 16 kB / 253.5 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.006264, allocations: 31.84 kB / 253.5 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.203e-05/0.006337, allocations: 47.91 kB / 253.6 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.00663, allocations: 167.4 kB / 253.7 MB, free: 0.543 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006633, allocations: 0 / 253.7 MB, free: 0.543 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006634, allocations: 4 kB / 253.7 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.006639, allocations: 0 / 253.7 MB, free: 0.5391 MB / 234.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.0007499/0.007389, allocations: 475.9 kB / 254.2 MB, free: 40 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.007433, allocations: 11.98 kB / 254.2 MB, free: 28 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.007589, allocations: 28.84 kB / 254.2 MB, free: 0 / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.007846, allocations: 148.4 kB / 254.4 MB, free: 15.83 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.007863, allocations: 8.609 kB / 254.4 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.007886, allocations: 12.38 kB / 254.4 MB, free: 15.81 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.008276, allocations: 141.8 kB / 254.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.008286, allocations: 4.188 kB / 254.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.008304, allocations: 8.312 kB / 254.6 MB, free: 15.65 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.008316, allocations: 7.938 kB / 254.6 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.008503, allocations: 68.67 kB / 254.6 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00093/0.009433, allocations: 0.5097 MB / 255.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.009752, allocations: 95.05 kB / 255.2 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.009828, allocations: 27.81 kB / 255.3 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.009848, allocations: 4 kB / 255.3 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.009883, allocations: 45.31 kB / 255.3 MB, free: 14.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.009884, allocations: 0 / 255.3 MB, free: 14.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006859/0.01057, allocations: 177.2 kB / 255.5 MB, free: 14.64 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.01062, allocations: 51.41 kB / 255.5 MB, free: 14.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.01081, allocations: 217.8 kB / 255.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.01083, allocations: 29.7 kB / 255.8 MB, free: 14.31 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01095, allocations: 174.8 kB / 255.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.01099, allocations: 23.83 kB / 256 MB, free: 14.11 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.01105, allocations: 31.33 kB / 256 MB, free: 14.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002723/0.01132, allocations: 0.4961 MB / 256.5 MB, free: 13.56 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.01138, allocations: 23.98 kB / 256.5 MB, free: 13.54 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.01147, allocations: 54.98 kB / 256.6 MB, free: 13.47 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.01161, allocations: 75 kB / 256.6 MB, free: 13.39 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01161, allocations: 0 / 256.6 MB, free: 13.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003036/0.01191, allocations: 141.2 kB / 256.8 MB, free: 13.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.01193, allocations: 11.92 kB / 256.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.01194, allocations: 0 / 256.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.01217, allocations: 47.98 kB / 256.8 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.01223, allocations: 15.98 kB / 256.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.01432, allocations: 2.161 MB / 259 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.0144, allocations: 19.91 kB / 259 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.0144, allocations: 3.938 kB / 259 MB, free: 10.86 MB / 250.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 0.0001389/0.01454, allocations: 168.6 kB / 259.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.01458, allocations: 7.953 kB / 259.2 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.01461, allocations: 16.78 kB / 259.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01461, allocations: 0 / 259.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.01461, allocations: 0 / 259.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.01462, allocations: 3.938 kB / 259.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.01485, allocations: 168.6 kB / 259.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01485, allocations: 4 kB / 259.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.01488, allocations: 4 kB / 259.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/0.01504, allocations: 47.78 kB / 259.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.01505, allocations: 0 / 259.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.01695, allocations: 2.165 MB / 261.6 MB, free: 8.109 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.01696, allocations: 8.031 kB / 261.6 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.01746, allocations: 267.4 kB / 261.9 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.01747, allocations: 7.953 kB / 261.9 MB, free: 7.809 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.01749, allocations: 0 / 261.9 MB, free: 7.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.01758, allocations: 4.188 kB / 261.9 MB, free: 7.805 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.01764, allocations: 15.92 kB / 261.9 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.01765, allocations: 4 kB / 261.9 MB, free: 7.785 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.01777, allocations: 159.1 kB / 262.1 MB, free: 7.629 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01777, allocations: 0 / 262.1 MB, free: 7.629 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.01814, allocations: 47.89 kB / 262.1 MB, free: 7.582 MB / 250.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.0001291/0.01827, allocations: 95.25 kB / 262.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000471/0.01874, allocations: 260.2 kB / 262.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01874, allocations: 4 kB / 262.5 MB, free: 7.199 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.01901, allocations: 217.4 kB / 262.7 MB, free: 6.965 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.01928, allocations: 16.11 kB / 262.7 MB, free: 6.949 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.01985, allocations: 274.4 kB / 263 MB, free: 6.652 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.01997, allocations: 98.27 kB / 263.1 MB, free: 6.535 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.02001, allocations: 4.5 kB / 263.1 MB, free: 6.527 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.02004, allocations: 8.5 kB / 263.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02004, allocations: 0 / 263.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of Templates: time 0.005237/0.02528, allocations: 1.507 MB / 264.6 MB, free: 5.02 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) [Timeout 240] 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: 4.2294424349674955]