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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 83.64 kB / 21.99 MB, free: 4.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 157.4 kB / 25.25 MB, free: 2.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 158.6 MB / 187 MB, free: 6.352 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 60.33 kB / 299.3 MB, free: 6.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2301, allocations: 49.14 MB / 348.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003694/0.2338, allocations: 1.578 MB / 350.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.2347, allocations: 0.4893 MB / 350.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.947e-05/0.2348, allocations: 4 kB / 350.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.404e-05/0.2349, allocations: 11.86 kB / 350.6 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.967e-05/0.235, allocations: 23.78 kB / 350.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.2353, allocations: 39.89 kB / 350.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.2355, allocations: 95.53 kB / 350.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2356, allocations: 31.77 kB / 350.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.363e-05/0.2357, allocations: 35.86 kB / 350.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2358, allocations: 31.86 kB / 350.8 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.2358, allocations: 8 kB / 350.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.2359, allocations: 19.98 kB / 350.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.2359, allocations: 12 kB / 350.9 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.236, allocations: 39.84 kB / 350.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.2362, allocations: 102.3 kB / 351 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2362, allocations: 0 / 351 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.592e-06/0.2362, allocations: 0 / 351 MB, free: 13.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.2362, allocations: 3.938 kB / 351 MB, free: 13.17 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.0005758/0.2368, allocations: 306.1 kB / 351.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.2369, allocations: 11.98 kB / 351.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.237, allocations: 16.89 kB / 351.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.2371, allocations: 126.4 kB / 351.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2372, allocations: 4.375 kB / 351.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.2372, allocations: 8.375 kB / 351.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.2374, allocations: 93.91 kB / 351.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2374, allocations: 0 / 351.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2374, allocations: 0 / 351.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2374, allocations: 4 kB / 351.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.2375, allocations: 51.92 kB / 351.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/0.2383, allocations: 324.2 kB / 351.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.2385, allocations: 70.55 kB / 352 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.2386, allocations: 32.84 kB / 352 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.2386, allocations: 0 / 352 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.2387, allocations: 34.5 kB / 352.1 MB, free: 12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2387, allocations: 0 / 352.1 MB, free: 12 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000298/0.239, allocations: 93.8 kB / 352.2 MB, free: 11.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.239, allocations: 55.34 kB / 352.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.2392, allocations: 109.8 kB / 352.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.2392, allocations: 25.7 kB / 352.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.2393, allocations: 100 kB / 352.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.2393, allocations: 35.89 kB / 352.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.2394, allocations: 29.7 kB / 352.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2395, allocations: 314.8 kB / 352.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.2396, allocations: 23.98 kB / 352.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.2396, allocations: 50.5 kB / 352.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.2397, allocations: 66.45 kB / 352.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2397, allocations: 0 / 352.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000168/0.2399, allocations: 105.6 kB / 353.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2399, allocations: 12.06 kB / 353.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2399, allocations: 0 / 353.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2399, allocations: 0 / 353.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.2401, allocations: 23.94 kB / 353.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2401, allocations: 11.92 kB / 353.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.2401, allocations: 15.88 kB / 353.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2402, allocations: 4 kB / 353.1 MB, free: 10.86 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 9.79e-05/0.2402, allocations: 117.8 kB / 353.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.2403, allocations: 4 kB / 353.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.2403, allocations: 8.438 kB / 353.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2403, allocations: 4 kB / 353.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.2403, allocations: 3.938 kB / 353.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2403, allocations: 0 / 353.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.2405, allocations: 129.5 kB / 353.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2405, allocations: 0 / 353.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.2406, allocations: 31.81 kB / 353.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2406, allocations: 0 / 353.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2406, allocations: 4 kB / 353.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2406, allocations: 4 kB / 353.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2406, allocations: 0 / 353.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.2409, allocations: 195.4 kB / 353.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.2409, allocations: 8 kB / 353.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.2409, allocations: 4.031 kB / 353.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-05/0.241, allocations: 7.984 kB / 353.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.241, allocations: 3.938 kB / 353.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.241, allocations: 4 kB / 353.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.451e-05/0.241, allocations: 91.2 kB / 353.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.241, allocations: 0 / 353.7 MB, free: 10.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.2413, allocations: 23.95 kB / 353.7 MB, free: 10.18 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 0.000166/0.2414, allocations: 95.25 kB / 353.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.2416, allocations: 55.92 kB / 353.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2416, allocations: 0 / 353.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.2416, allocations: 19.98 kB / 353.9 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.2419, allocations: 8 kB / 353.9 MB, free: 9.992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.2426, allocations: 327.1 kB / 354.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.693e-05/0.2427, allocations: 75.33 kB / 354.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.576e-05/0.2427, allocations: 15.94 kB / 354.3 MB, free: 9.535 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.2428, allocations: 12.5 kB / 354.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2428, allocations: 0 / 354.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of Templates: time 0.003286/0.2461, allocations: 0.5856 MB / 354.9 MB, free: 8.938 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.325721688917838]