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.001066/0.001066, allocations: 105.3 kB / 17.74 MB, free: 5.309 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.00103/0.00103, allocations: 192.2 kB / 18.68 MB, free: 4.379 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.291/1.291, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009517/0.0009517, allocations: 47.91 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2033, allocations: 49.44 MB / 401.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002632/0.206, allocations: 1.625 MB / 403 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000819/0.2068, allocations: 0.5065 MB / 403.5 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.2069, allocations: 4 kB / 403.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.2069, allocations: 11.86 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.207, allocations: 31.77 kB / 403.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.2072, allocations: 31.89 kB / 403.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.2074, allocations: 95.53 kB / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2075, allocations: 39.95 kB / 403.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.2076, allocations: 35.86 kB / 403.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/0.2077, allocations: 47.83 kB / 403.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.2077, allocations: 8 kB / 403.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.004e-05/0.2078, allocations: 12 kB / 403.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.2078, allocations: 19.98 kB / 403.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.2079, allocations: 43.8 kB / 403.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.208, allocations: 103.5 kB / 404 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.208, allocations: 3.938 kB / 404 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.208, allocations: 3.938 kB / 404 MB, free: 6.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.208, allocations: 0 / 404 MB, free: 6.23 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.0004603/0.2085, allocations: 375.2 kB / 404.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2086, allocations: 12.03 kB / 404.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.2087, allocations: 16.88 kB / 404.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2088, allocations: 168.3 kB / 404.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2088, allocations: 8.375 kB / 404.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.2089, allocations: 8.375 kB / 404.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.209, allocations: 93.86 kB / 404.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.209, allocations: 4 kB / 404.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2091, allocations: 3.938 kB / 404.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2091, allocations: 0 / 404.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.2092, allocations: 55.97 kB / 404.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.2098, allocations: 396.5 kB / 405.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.21, allocations: 66.56 kB / 405.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.21, allocations: 40.84 kB / 405.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.2101, allocations: 0 / 405.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2101, allocations: 34.56 kB / 405.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 2.815e-06/0.2101, allocations: 0 / 405.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000211/0.2103, allocations: 105.8 kB / 405.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.2103, allocations: 51.41 kB / 405.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.2104, allocations: 109.8 kB / 405.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.2105, allocations: 25.7 kB / 405.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.2105, allocations: 99.98 kB / 405.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.2105, allocations: 35.69 kB / 405.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.2106, allocations: 33.72 kB / 405.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2107, allocations: 314.8 kB / 406 MB, free: 4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.677e-05/0.2108, allocations: 23.98 kB / 406.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.2108, allocations: 42.56 kB / 406.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.553e-05/0.2109, allocations: 70.45 kB / 406.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2109, allocations: 4 kB / 406.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001589/0.2111, allocations: 105.6 kB / 406.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2111, allocations: 4 kB / 406.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2111, allocations: 0 / 406.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2111, allocations: 4 kB / 406.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.2113, allocations: 31.86 kB / 406.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2113, allocations: 0 / 406.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.2113, allocations: 11.89 kB / 406.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2114, allocations: 4 kB / 406.3 MB, free: 3.68 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.834e-05/0.2114, allocations: 117.9 kB / 406.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.2115, allocations: 15.92 kB / 406.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.2115, allocations: 8.375 kB / 406.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2115, allocations: 7.875 kB / 406.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2115, allocations: 0 / 406.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.2116, allocations: 81.11 kB / 406.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.2116, allocations: 4 kB / 406.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.2117, allocations: 0 / 406.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.2117, allocations: 7.984 kB / 406.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00023/0.2119, allocations: 172.8 kB / 406.7 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002228/0.2121, allocations: 266.8 kB / 407 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.039e-05/0.2122, allocations: 20.02 kB / 407 MB, free: 2.941 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.2123, allocations: 87.52 kB / 407.1 MB, free: 2.855 MB / 318.1 MB Notification: Performance of Backend: time 4.11e-07/0.2123, allocations: 3.938 kB / 407.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.2127, allocations: 130.3 kB / 407.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006588/0.2133, allocations: 0.7335 MB / 408 MB, free: 1.934 MB / 318.1 MB Notification: Performance of Templates: time 0.00275/0.2161, allocations: 0.7233 MB / 408.7 MB, free: 1.211 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