Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 101.5 kB / 18.39 MB, free: 4.652 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.001325/0.001325, allocations: 189.1 kB / 19.33 MB, free: 3.727 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.492/1.492, allocations: 205.1 MB / 225.2 MB, free: 12.18 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.001356/0.001356, allocations: 51.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09373, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002863/0.09664, allocations: 1.629 MB / 377.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009617/0.09763, allocations: 0.515 MB / 377.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.09773, allocations: 3.938 kB / 377.9 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.469e-05/0.09781, allocations: 7.922 kB / 377.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.784e-05/0.09791, allocations: 31.7 kB / 378 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.09815, allocations: 23.97 kB / 378 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.09831, allocations: 107.5 kB / 378.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.09848, allocations: 35.97 kB / 378.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.674e-05/0.09854, allocations: 39.92 kB / 378.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.6e-05/0.09865, allocations: 39.84 kB / 378.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.09867, allocations: 8 kB / 378.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.09876, allocations: 15.98 kB / 378.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.09878, allocations: 11.94 kB / 378.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.09884, allocations: 47.8 kB / 378.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.09904, allocations: 99.67 kB / 378.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.09905, allocations: 0 / 378.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09906, allocations: 4 kB / 378.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.09908, allocations: 0 / 378.4 MB, free: 1.961 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005184/0.0996, allocations: 383.3 kB / 378.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.09965, allocations: 8.031 kB / 378.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.09979, allocations: 12.84 kB / 378.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.09991, allocations: 168.3 kB / 379 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.09994, allocations: 4.375 kB / 379 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.09998, allocations: 16.36 kB / 379 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1002, allocations: 85.98 kB / 379.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1002, allocations: 0 / 379.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1002, allocations: 4 kB / 379.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1002, allocations: 7.938 kB / 379.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1003, allocations: 51.92 kB / 379.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.101, allocations: 400.3 kB / 379.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1012, allocations: 78.48 kB / 379.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.1013, allocations: 32.84 kB / 379.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.1013, allocations: 0 / 379.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1013, allocations: 38.56 kB / 379.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.1013, allocations: 0 / 379.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002134/0.1015, allocations: 85.77 kB / 379.7 MB, free: 456 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1016, allocations: 59.34 kB / 379.8 MB, free: 384 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.1017, allocations: 113.8 kB / 379.9 MB, free: 260 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1017, allocations: 25.7 kB / 379.9 MB, free: 228 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.1018, allocations: 103.9 kB / 380 MB, free: 120 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.1018, allocations: 27.5 kB / 380.1 MB, free: 92 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.1018, allocations: 33.7 kB / 380.1 MB, free: 52 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1912/0.2931, allocations: 315.3 kB / 380.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.2933, allocations: 20.05 kB / 380.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.2933, allocations: 45.28 kB / 380.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.2935, allocations: 66.98 kB / 380.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2935, allocations: 0 / 380.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002111/0.2937, allocations: 106.9 kB / 380.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.2937, allocations: 9.328 kB / 380.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2937, allocations: 1.281 kB / 380.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.2938, allocations: 4.875 kB / 380.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.2939, allocations: 27.81 kB / 380.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.294, allocations: 1.375 kB / 380.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.294, allocations: 10.19 kB / 380.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.294, allocations: 6.688 kB / 380.7 MB, free: 12.66 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.4e-05/0.2941, allocations: 115 kB / 380.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.2942, allocations: 3.828 kB / 380.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.2942, allocations: 16.05 kB / 380.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2942, allocations: 1.375 kB / 380.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2942, allocations: 3.938 kB / 380.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2942, allocations: 1.078 kB / 380.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.2944, allocations: 191.9 kB / 381 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2944, allocations: 1.469 kB / 381 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.2946, allocations: 18 kB / 381 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2946, allocations: 4.688 kB / 381.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2946, allocations: 1.156 kB / 381.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2946, allocations: 0.6562 kB / 381.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2946, allocations: 5.25 kB / 381.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.2948, allocations: 194.5 kB / 381.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.2948, allocations: 87.02 kB / 381.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.2949, allocations: 4.656 kB / 381.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.044e-05/0.2949, allocations: 4.344 kB / 381.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.2949, allocations: 8.578 kB / 381.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.295, allocations: 1.562 kB / 381.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.292e-05/0.295, allocations: 86.44 kB / 381.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.295, allocations: 0 / 381.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000268/0.2953, allocations: 29.31 kB / 381.5 MB, free: 12.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.776e-05/0.2954, allocations: 100.4 kB / 381.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.2955, allocations: 61.69 kB / 381.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2955, allocations: 0 / 381.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.2956, allocations: 22.14 kB / 381.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.2959, allocations: 10.91 kB / 381.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.2965, allocations: 346.3 kB / 382 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.2967, allocations: 0.6967 MB / 382.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.2967, allocations: 11.56 kB / 382.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2967, allocations: 1.406 kB / 382.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of Templates: time 0.002758/0.2995, allocations: 0.9601 MB / 383.7 MB, free: 10.98 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches