Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 113.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 207.9 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.461/1.461, allocations: 230.4 MB / 250 MB, free: 9.008 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.81 kB / 367.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2398, allocations: 53.3 MB / 420.6 MB, free: 8.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002613/0.2425, allocations: 1.647 MB / 422.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008841/0.2433, allocations: 0.5417 MB / 422.8 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.2434, allocations: 3.938 kB / 422.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.843e-05/0.2434, allocations: 11.86 kB / 422.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.021e-05/0.2435, allocations: 31.77 kB / 422.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.2437, allocations: 31.91 kB / 422.9 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.2438, allocations: 103.6 kB / 423 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.244, allocations: 19.98 kB / 423 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.244, allocations: 39.86 kB / 423.1 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.868e-05/0.2441, allocations: 43.84 kB / 423.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2441, allocations: 8 kB / 423.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.924e-05/0.2442, allocations: 15.92 kB / 423.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.2442, allocations: 15.94 kB / 423.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.2443, allocations: 43.86 kB / 423.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.2444, allocations: 103.5 kB / 423.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2444, allocations: 0 / 423.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2444, allocations: 0 / 423.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2444, allocations: 0 / 423.3 MB, free: 5.695 MB / 334.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.0004828/0.2449, allocations: 386.1 kB / 423.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2449, allocations: 15.97 kB / 423.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2451, allocations: 8.891 kB / 423.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.2452, allocations: 176.3 kB / 423.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2452, allocations: 4.375 kB / 423.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.2452, allocations: 8.375 kB / 423.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.2454, allocations: 93.91 kB / 424 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2454, allocations: 0 / 424 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.2454, allocations: 4 kB / 424 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2455, allocations: 4 kB / 424 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.2456, allocations: 47.97 kB / 424 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.2462, allocations: 408.5 kB / 424.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.2464, allocations: 66.55 kB / 424.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.2464, allocations: 32.84 kB / 424.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.2464, allocations: 0 / 424.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.2465, allocations: 38.5 kB / 424.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.2465, allocations: 4 kB / 424.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002071/0.2467, allocations: 89.77 kB / 424.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2467, allocations: 51.41 kB / 424.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2468, allocations: 110 kB / 424.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2468, allocations: 29.7 kB / 424.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.2469, allocations: 99.97 kB / 424.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.2469, allocations: 27.75 kB / 424.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.247, allocations: 29.7 kB / 425 MB, free: 3.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2471, allocations: 318.8 kB / 425.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.2472, allocations: 23.98 kB / 425.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.2472, allocations: 50 kB / 425.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.2474, allocations: 66.52 kB / 425.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2474, allocations: 0 / 425.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001634/0.2475, allocations: 113.5 kB / 425.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2475, allocations: 6.812 kB / 425.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2475, allocations: 4 kB / 425.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2476, allocations: 3.938 kB / 425.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.2477, allocations: 23.94 kB / 425.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2477, allocations: 3.984 kB / 425.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.2477, allocations: 11.94 kB / 425.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.2477, allocations: 4.25 kB / 425.6 MB, free: 3.148 MB / 334.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.866e-05/0.2478, allocations: 113.8 kB / 425.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.2479, allocations: 8.016 kB / 425.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.2479, allocations: 16.38 kB / 425.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2479, allocations: 3.938 kB / 425.7 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2479, allocations: 4 kB / 425.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2479, allocations: 3.938 kB / 425.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.2481, allocations: 185.6 kB / 425.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2481, allocations: 3.938 kB / 425.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.2482, allocations: 19.98 kB / 425.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.2482, allocations: 4 kB / 426 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.2482, allocations: 0 / 426 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2482, allocations: 11.88 kB / 426 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2482, allocations: 0 / 426 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2485, allocations: 191.5 kB / 426.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.2485, allocations: 85 kB / 426.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2485, allocations: 4.031 kB / 426.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.2486, allocations: 3.938 kB / 426.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.2486, allocations: 15.92 kB / 426.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.2486, allocations: 0 / 426.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.221e-05/0.2486, allocations: 83.34 kB / 426.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2486, allocations: 0 / 426.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.2489, allocations: 24 kB / 426.4 MB, free: 2.289 MB / 334.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.223e-05/0.249, allocations: 95.25 kB / 426.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.2491, allocations: 59.91 kB / 426.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2491, allocations: 0 / 426.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.2491, allocations: 16 kB / 426.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.2494, allocations: 12.12 kB / 426.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.25, allocations: 326.7 kB / 426.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.2503, allocations: 0.6924 MB / 427.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.532e-05/0.2503, allocations: 11.95 kB / 427.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.2504, allocations: 7.438 kB / 427.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2504, allocations: 4 kB / 427.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of Templates: time 0.003347/0.2537, allocations: 0.6437 MB / 428.2 MB, free: 380 kB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches