Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001229/0.001229, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001012/0.001012, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9629/0.9629, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273 MB, free: 1.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.44e-05, allocations: 2.312 kB / 273 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.005163/0.005187, allocations: 1.681 MB / 274.7 MB, free: 192 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.00591, allocations: 0.5376 MB / 275.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.005956, allocations: 0 / 275.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.876e-05/0.006005, allocations: 15.86 kB / 275.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.344e-05/0.006068, allocations: 23.77 kB / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.006254, allocations: 39.83 kB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.006372, allocations: 103.4 kB / 275.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.006484, allocations: 23.97 kB / 275.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.006548, allocations: 51.95 kB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.006626, allocations: 39.89 kB / 275.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.006645, allocations: 8 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.071e-05/0.006706, allocations: 12 kB / 275.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.006729, allocations: 23.91 kB / 275.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.006765, allocations: 31.92 kB / 275.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.006892, allocations: 63.81 kB / 275.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006894, allocations: 0 / 275.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006895, allocations: 0 / 275.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.006899, allocations: 0 / 275.7 MB, free: 15.21 MB / 266.7 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.0003783/0.007277, allocations: 404.5 kB / 276.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.00731, allocations: 12.03 kB / 276.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.007441, allocations: 40.58 kB / 276.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.534e-05/0.007526, allocations: 112.6 kB / 276.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.007538, allocations: 4.375 kB / 276.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.007561, allocations: 12.38 kB / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.00768, allocations: 73.48 kB / 276.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.007689, allocations: 192 / 276.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.0077, allocations: 8.312 kB / 276.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.00771, allocations: 3.938 kB / 276.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.846e-05/0.007788, allocations: 39.92 kB / 276.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/0.0116, allocations: 375.4 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.01171, allocations: 67.03 kB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.01175, allocations: 27.83 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.01176, allocations: 3.984 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.01178, allocations: 37.39 kB / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.01178, allocations: 3.938 kB / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001742/0.01196, allocations: 77.8 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.01199, allocations: 51.41 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/0.01206, allocations: 169.9 kB / 277.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.01207, allocations: 25.7 kB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.01213, allocations: 146.7 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.01215, allocations: 31.73 kB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.01219, allocations: 31.38 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.0123, allocations: 0.4922 MB / 277.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.01233, allocations: 16.23 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.435e-05/0.01237, allocations: 43.05 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.096e-05/0.01244, allocations: 63 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01245, allocations: 4 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001197/0.01257, allocations: 97.52 kB / 278.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01258, allocations: 7.984 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.01258, allocations: 0 / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.0126, allocations: 4 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/0.01269, allocations: 23.94 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.0127, allocations: 0 / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.01273, allocations: 3.953 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.01273, allocations: 7.938 kB / 278.2 MB, free: 12.51 MB / 266.7 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 6.777e-05/0.0128, allocations: 168.6 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.01283, allocations: 8 kB / 278.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.01285, allocations: 8.438 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01285, allocations: 0 / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01286, allocations: 4 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.01286, allocations: 0 / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.01299, allocations: 144.4 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.01299, allocations: 0 / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.209e-05/0.01306, allocations: 23.92 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.01306, allocations: 0 / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01307, allocations: 0 / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.01308, allocations: 4 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01308, allocations: 7.938 kB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.01324, allocations: 231.8 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.01324, allocations: 4 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.01326, allocations: 4 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.0133, allocations: 0 / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.01332, allocations: 15.91 kB / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.01332, allocations: 0 / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.704e-05/0.01336, allocations: 131.2 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01336, allocations: 0 / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.01358, allocations: 27.98 kB / 278.9 MB, free: 11.68 MB / 266.7 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 6.803e-05/0.01365, allocations: 95.25 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.01376, allocations: 59.64 kB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01376, allocations: 0 / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.01379, allocations: 23.67 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.01405, allocations: 10.75 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.01469, allocations: 278.2 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006051/0.02075, allocations: 63.34 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.007e-05/0.02078, allocations: 0 / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.0208, allocations: 12.5 kB / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0208, allocations: 0 / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of Templates: time 0.002356/0.02316, allocations: 0.6109 MB / 280.1 MB, free: 10.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7433909631799906]