Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001349/0.001349, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001063/0.001063, allocations: 160.8 kB / 25.61 MB, free: 8.895 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.9105/0.9105, allocations: 177.1 MB / 206 MB, free: 4.512 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.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.298e-05, allocations: 2.312 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002339/0.002362, allocations: 1.596 MB / 275.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003627/0.002725, allocations: 149.4 kB / 275.9 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.002809, allocations: 0 / 275.9 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.297e-05/0.002862, allocations: 3.938 kB / 276 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.002993, allocations: 7.922 kB / 276 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.003195, allocations: 39.78 kB / 276 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.352e-05/0.003288, allocations: 37.17 kB / 276 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.003377, allocations: 15.97 kB / 276 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.557e-05/0.003423, allocations: 15.92 kB / 276.1 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.63e-05/0.003459, allocations: 8.672 kB / 276.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.003476, allocations: 4 kB / 276.1 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.003484, allocations: 0.5 kB / 276.1 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.003527, allocations: 15.94 kB / 276.1 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.003551, allocations: 16.8 kB / 276.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.086e-05/0.003642, allocations: 31.78 kB / 276.1 MB, free: 2.469 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003644, allocations: 0.625 kB / 276.1 MB, free: 2.469 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003645, allocations: 0 / 276.1 MB, free: 2.469 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.003649, allocations: 2.031 kB / 276.1 MB, free: 2.469 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003441/0.003993, allocations: 400.3 kB / 276.5 MB, free: 2.039 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.004034, allocations: 12.03 kB / 276.5 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.004064, allocations: 8.891 kB / 276.6 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.004207, allocations: 129.2 kB / 276.7 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.004218, allocations: 6.719 kB / 276.7 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.004224, allocations: 4.312 kB / 276.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.004414, allocations: 133.5 kB / 276.8 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.004423, allocations: 4.188 kB / 276.8 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.004429, allocations: 384 / 276.8 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.004437, allocations: 4.375 kB / 276.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.743e-05/0.004455, allocations: 11.92 kB / 276.8 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.004663, allocations: 244 kB / 277.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.00478, allocations: 66.17 kB / 277.1 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.00481, allocations: 23.38 kB / 277.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.004825, allocations: 4 kB / 277.2 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.004848, allocations: 41.36 kB / 277.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.004849, allocations: 7.938 kB / 277.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001308/0.00498, allocations: 61.52 kB / 277.3 MB, free: 1.164 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.005023, allocations: 81.11 kB / 277.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.005106, allocations: 185.9 kB / 277.5 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.005114, allocations: 25.7 kB / 277.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.005162, allocations: 138.9 kB / 277.7 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.005175, allocations: 0 / 277.7 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.005201, allocations: 23.33 kB / 277.7 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.005322, allocations: 496.1 kB / 278.2 MB, free: 172 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.005332, allocations: 0 / 278.2 MB, free: 172 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.005339, allocations: 8.125 kB / 278.2 MB, free: 164 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.045e-05/0.005359, allocations: 11.62 kB / 278.2 MB, free: 148 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005361, allocations: 0 / 278.2 MB, free: 148 kB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.722e-05/0.005408, allocations: 33.7 kB / 278.3 MB, free: 108 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.00542, allocations: 4 kB / 278.3 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005424, allocations: 0 / 278.3 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.005434, allocations: 3.938 kB / 278.3 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.733e-05/0.005471, allocations: 4 kB / 278.3 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.005473, allocations: 0 / 278.3 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.005486, allocations: 4.078 kB / 278.3 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.005491, allocations: 7.984 kB / 278.3 MB, free: 84 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.474e-05/0.005565, allocations: 164.6 kB / 278.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.00561, allocations: 41.59 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.005637, allocations: 16.33 kB / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.00564, allocations: 3.938 kB / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.005643, allocations: 4 kB / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.005645, allocations: 0 / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.005937, allocations: 101.2 kB / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005939, allocations: 0 / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.005969, allocations: 4 kB / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.005972, allocations: 8 kB / 278.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.005977, allocations: 4 kB / 278.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.005979, allocations: 0 / 278.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.005981, allocations: 0 / 278.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.094e-05/0.006072, allocations: 207.4 kB / 278.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.006097, allocations: 11.94 kB / 278.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.006106, allocations: 7.938 kB / 278.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.145e-05/0.006137, allocations: 8 kB / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.006159, allocations: 0 / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.006163, allocations: 3.938 kB / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.006207, allocations: 142 kB / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006207, allocations: 0 / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001365/0.006343, allocations: 4 kB / 279 MB, free: 15.3 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * 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 8.114e-05/0.006425, allocations: 95.25 kB / 279.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.615e-05/0.006491, allocations: 23.61 kB / 279.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006492, allocations: 0 / 279.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.006505, allocations: 7.688 kB / 279.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.006745, allocations: 24.8 kB / 279.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.006989, allocations: 157 kB / 279.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.791e-05/0.007027, allocations: 71.14 kB / 279.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.608e-05/0.007043, allocations: 0 / 279.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.007093, allocations: 78.19 kB / 279.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.007094, allocations: 0 / 279.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of Templates: time 0.002173/0.009266, allocations: 0.5647 MB / 280 MB, free: 14.22 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.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.6806401940993965]