Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001131/0.001131, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.001009/0.001009, allocations: 183.8 kB / 18.62 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009884/0.0009885, allocations: 55.92 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2608, allocations: 49.44 MB / 401.3 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002882/0.2637, allocations: 1.626 MB / 403 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.2646, allocations: 0.5065 MB / 403.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.2647, allocations: 4 kB / 403.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.2648, allocations: 11.92 kB / 403.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.024e-05/0.2649, allocations: 27.72 kB / 403.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.2651, allocations: 27.95 kB / 403.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.2653, allocations: 103.5 kB / 403.6 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.2654, allocations: 39.95 kB / 403.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.2655, allocations: 39.84 kB / 403.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.2656, allocations: 43.84 kB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2656, allocations: 8 kB / 403.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.2657, allocations: 12 kB / 403.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.2658, allocations: 15.98 kB / 403.8 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.2658, allocations: 43.81 kB / 403.8 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.266, allocations: 96.8 kB / 403.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.266, allocations: 0 / 403.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.266, allocations: 4 kB / 403.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.266, allocations: 3.984 kB / 403.9 MB, free: 6.262 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.0005273/0.2666, allocations: 383.3 kB / 404.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2666, allocations: 11.97 kB / 404.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.2667, allocations: 12.84 kB / 404.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.2669, allocations: 176.2 kB / 404.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.2669, allocations: 4.375 kB / 404.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.267, allocations: 8.375 kB / 404.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.2671, allocations: 93.03 kB / 404.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2672, allocations: 0 / 404.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.2672, allocations: 11.92 kB / 404.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2672, allocations: 0 / 404.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.2673, allocations: 59.91 kB / 404.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.2681, allocations: 396.4 kB / 405.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.2682, allocations: 70.55 kB / 405.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.2683, allocations: 32.84 kB / 405.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.2683, allocations: 4 kB / 405.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.2683, allocations: 34.56 kB / 405.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2683, allocations: 0 / 405.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002202/0.2685, allocations: 89.8 kB / 405.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.2686, allocations: 51.41 kB / 405.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.2687, allocations: 109.8 kB / 405.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.2687, allocations: 25.7 kB / 405.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.2688, allocations: 103.9 kB / 405.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.2688, allocations: 35.55 kB / 405.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.2688, allocations: 25.72 kB / 405.6 MB, free: 4.355 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.269, allocations: 318.8 kB / 405.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.733e-05/0.269, allocations: 16 kB / 406 MB, free: 4.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/0.2691, allocations: 46.56 kB / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.851e-05/0.2692, allocations: 78.44 kB / 406.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2692, allocations: 0 / 406.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001379/0.2693, allocations: 105.5 kB / 406.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2693, allocations: 4 kB / 406.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2693, allocations: 80 / 406.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2694, allocations: 7.938 kB / 406.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2695, allocations: 27.98 kB / 406.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.2695, allocations: 8.172 kB / 406.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.2695, allocations: 3.906 kB / 406.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.2696, allocations: 12.06 kB / 406.3 MB, free: 3.707 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 8.29e-05/0.2696, allocations: 117.8 kB / 406.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.2697, allocations: 4 kB / 406.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.2697, allocations: 8.375 kB / 406.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2697, allocations: 3.938 kB / 406.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2697, allocations: 7.984 kB / 406.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2697, allocations: 0 / 406.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.2699, allocations: 185.7 kB / 406.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2699, allocations: 0 / 406.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.2701, allocations: 23.98 kB / 406.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2701, allocations: 0 / 406.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.2701, allocations: 7.984 kB / 406.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2701, allocations: 7.938 kB / 406.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2701, allocations: 3.938 kB / 406.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.2703, allocations: 187.4 kB / 406.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.2704, allocations: 84.95 kB / 406.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.2704, allocations: 0 / 406.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.2704, allocations: 16.03 kB / 406.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.2705, allocations: 3.984 kB / 406.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2705, allocations: 7.938 kB / 406.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.2705, allocations: 83.28 kB / 407 MB, free: 2.875 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2705, allocations: 0 / 407 MB, free: 2.875 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.2708, allocations: 16 kB / 407 MB, free: 2.859 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 9.943e-05/0.2709, allocations: 111.6 kB / 407.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.271, allocations: 59.97 kB / 407.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.271, allocations: 0 / 407.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/0.2711, allocations: 27.94 kB / 407.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.2714, allocations: 3.984 kB / 407.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.272, allocations: 344.3 kB / 407.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.2723, allocations: 0.6924 MB / 408.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.2723, allocations: 15.44 kB / 408.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2723, allocations: 0 / 408.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of Templates: time 0.002235/0.2746, allocations: 0.9575 MB / 409.2 MB, free: 0.5938 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches