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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00034/0.00034, allocations: 0 / 0, free: 0 / 0 " [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.0002293/0.0002293, allocations: 0 / 0, free: 0 / 0 " [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 0.04368/0.04368, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="mat",variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 5.61e-07/5.61e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.336e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.001646/0.00166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0006734/0.002333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.002364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.002401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.00248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.002622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.002707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 6.998e-05/0.002777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 7.323e-05/0.002851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.002909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.002922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 3.757e-05/0.002959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.002985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.003018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 9.873e-05/0.003117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.003128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.62e-07/0.003129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.579e-06/0.003133, allocations: 0 / 0, free: 0 / 0 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.0004145/0.003548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.003603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.003704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 6.598e-05/0.00377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.003785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.003806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.003912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.00392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.003937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-06/0.00394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 6.462e-05/0.004005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.004343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/0.004421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.00445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.579e-06/0.004454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.004468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=8): time 3.056e-06/0.004471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=8): time 0.0001129/0.004584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 1.458e-05/0.004599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.453e-05/0.004623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.00464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.004666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.00469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.004717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 9.057e-06/0.004726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.004739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.004761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.004806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=13) (initialization): time 7.723e-05/0.004885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.004896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.004899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.00491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.004984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.00499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.005023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.005032, allocations: 0 / 0, free: 0 / 0 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 4.183e-05/0.005074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.005091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.005117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.005119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.005124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.005335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.005337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.00539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.0054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.005402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.005404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.005517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.005531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.005571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.005625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.005648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.005652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 8.426e-06/0.00566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.122e-06/0.005662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0003521/0.006014, allocations: 0 / 0, free: 0 / 0 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.092e-05/0.006075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 8.058e-05/0.006155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.006157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.006177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.006462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.006861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 2.68e-05/0.006888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 3.333e-05/0.006921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.006982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.507e-05/0.006997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0006066/0.007603, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 0.5996202202513814]