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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|heatingResistor.i|heatingResistor.LossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 114.5 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 187 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1167, allocations: 46.62 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003448/0.1203, allocations: 2.123 MB / 377.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.1212, allocations: 0.5034 MB / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.1213, allocations: 0 / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.1215, allocations: 23.8 kB / 377.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.801e-05/0.1216, allocations: 43.62 kB / 377.8 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1218, allocations: 47.88 kB / 377.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.122, allocations: 159.2 kB / 378 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.1222, allocations: 53.45 kB / 378.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1223, allocations: 67.72 kB / 378.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1224, allocations: 63.75 kB / 378.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.1225, allocations: 12 kB / 378.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.472e-05/0.1226, allocations: 16 kB / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.1226, allocations: 31.86 kB / 378.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.1227, allocations: 75.61 kB / 378.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1229, allocations: 159.4 kB / 378.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1229, allocations: 3.938 kB / 378.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1229, allocations: 4 kB / 378.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1229, allocations: 3.984 kB / 378.5 MB, free: 1.16 MB / 318.1 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.0005991/0.1235, allocations: 439.1 kB / 379 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1236, allocations: 11.89 kB / 379 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.295e-05/0.1237, allocations: 16.84 kB / 379 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1239, allocations: 208.1 kB / 379.2 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.124, allocations: 12.55 kB / 379.2 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.124, allocations: 12.38 kB / 379.2 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.1242, allocations: 119.8 kB / 379.3 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1243, allocations: 0 / 379.3 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1243, allocations: 4 kB / 379.3 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1243, allocations: 7.984 kB / 379.3 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.1245, allocations: 76.67 kB / 379.4 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1942/0.3186, allocations: 0.5894 MB / 380 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.319, allocations: 84.66 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.3191, allocations: 30.5 kB / 380.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3191, allocations: 1.844 kB / 380.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3192, allocations: 37.66 kB / 380.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.3192, allocations: 0 / 380.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007259/0.3199, allocations: 257.4 kB / 380.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.3199, allocations: 53.44 kB / 380.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3201, allocations: 149.5 kB / 380.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.3201, allocations: 25.7 kB / 380.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.888e-05/0.3202, allocations: 128.1 kB / 380.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.3202, allocations: 19.72 kB / 380.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.3203, allocations: 27.69 kB / 380.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.814e-05/0.3204, allocations: 323.7 kB / 381.1 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.3204, allocations: 22.11 kB / 381.1 MB, free: 11.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.3205, allocations: 50.14 kB / 381.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.3206, allocations: 62.39 kB / 381.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3207, allocations: 1.984 kB / 381.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002594/0.3209, allocations: 136.6 kB / 381.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3209, allocations: 7.594 kB / 381.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.321, allocations: 3.938 kB / 381.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.3211, allocations: 45.11 kB / 381.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.306e-05/0.3212, allocations: 10.83 kB / 381.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.3223, allocations: 1.675 MB / 383.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.072e-05/0.3224, allocations: 17.8 kB / 383.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3225, allocations: 3.172 kB / 383.1 MB, free: 10.37 MB / 318.1 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 7.417e-05/0.3225, allocations: 119.6 kB / 383.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.3226, allocations: 8.188 kB / 383.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.3226, allocations: 17.22 kB / 383.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3226, allocations: 1.188 kB / 383.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3226, allocations: 6 kB / 383.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3226, allocations: 1.25 kB / 383.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3228, allocations: 215 kB / 383.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3228, allocations: 0 / 383.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.3229, allocations: 4.797 kB / 383.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.323, allocations: 41.48 kB / 383.5 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.323, allocations: 3.734 kB / 383.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.3241, allocations: 1.68 MB / 385.2 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3241, allocations: 6.406 kB / 385.2 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.3244, allocations: 218 kB / 385.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.3245, allocations: 88.69 kB / 385.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3245, allocations: 1.266 kB / 385.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.3246, allocations: 5.641 kB / 385.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.3247, allocations: 9.797 kB / 385.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.3247, allocations: 5.625 kB / 385.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.409e-05/0.3248, allocations: 108.4 kB / 385.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3248, allocations: 0 / 385.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.3251, allocations: 41.31 kB / 385.7 MB, free: 8.164 MB / 318.1 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.000111/0.3253, allocations: 96.06 kB / 385.8 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004549/0.3257, allocations: 199.7 kB / 386 MB, free: 7.934 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3257, allocations: 0.6875 kB / 386 MB, free: 7.934 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.326, allocations: 155.2 kB / 386.1 MB, free: 7.809 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.3262, allocations: 18.56 kB / 386.2 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.3268, allocations: 288.6 kB / 386.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.327, allocations: 0.7062 MB / 387.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.616e-05/0.3271, allocations: 12.09 kB / 387.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.3271, allocations: 11.23 kB / 387.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3271, allocations: 0 / 387.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of Templates: time 0.005208/0.3323, allocations: 1.521 MB / 388.7 MB, free: 6.789 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) 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) Reference file matches