Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001976/0.001976, allocations: 81.34 kB / 20.68 MB, free: 1.027 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.002443/0.002443, allocations: 163 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.559/1.559, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.819e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003083/0.003112, allocations: 1.615 MB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.004163, allocations: 0.5033 MB / 327.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.203e-05/0.004255, allocations: 5.406 kB / 327.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.788e-05/0.004313, allocations: 10.75 kB / 327.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.004461, allocations: 18.81 kB / 327.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.004794, allocations: 51.91 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.004913, allocations: 52.88 kB / 327.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.005045, allocations: 18.41 kB / 327.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.005203, allocations: 32.44 kB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.005267, allocations: 18.31 kB / 327.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.005286, allocations: 2.719 kB / 327.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.285e-05/0.005329, allocations: 9.734 kB / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.005376, allocations: 15.47 kB / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.005406, allocations: 14.41 kB / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.005565, allocations: 63.28 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.005569, allocations: 0 / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00557, allocations: 0 / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.005575, allocations: 0 / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005037/0.006079, allocations: 307.7 kB / 327.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.006112, allocations: 12.59 kB / 327.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.006263, allocations: 17.11 kB / 327.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.00651, allocations: 148.5 kB / 328 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.006522, allocations: 1.719 kB / 328 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.006534, allocations: 3.156 kB / 328 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.006845, allocations: 121.9 kB / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.006857, allocations: 0.8906 kB / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006867, allocations: 1.062 kB / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.006872, allocations: 4 kB / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.84e-05/0.006961, allocations: 25.8 kB / 328.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.007289, allocations: 213.9 kB / 328.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.007417, allocations: 73.55 kB / 328.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.11e-05/0.007488, allocations: 31.53 kB / 328.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.007512, allocations: 1.75 kB / 328.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.007546, allocations: 41.72 kB / 328.5 MB, free: 14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.007547, allocations: 4 kB / 328.5 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002977/0.007845, allocations: 90.22 kB / 328.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.007926, allocations: 105 kB / 328.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.00807, allocations: 148.9 kB / 328.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.008086, allocations: 29.64 kB / 328.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.008145, allocations: 88 kB / 328.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.008159, allocations: 4.781 kB / 328.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.008193, allocations: 14.09 kB / 329 MB, free: 13.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.008356, allocations: 324.6 kB / 329.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.008394, allocations: 5.109 kB / 329.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.008426, allocations: 12.83 kB / 329.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.171e-05/0.008498, allocations: 19.69 kB / 329.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.0085, allocations: 0 / 329.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001108/0.00861, allocations: 51.89 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.008627, allocations: 9.406 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.008631, allocations: 4.094 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.008648, allocations: 1.344 kB / 329.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.008734, allocations: 7.75 kB / 329.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.00874, allocations: 1.219 kB / 329.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.008772, allocations: 1.75 kB / 329.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.00878, allocations: 1.703 kB / 329.4 MB, free: 13.17 MB / 302.1 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 9.697e-05/0.008877, allocations: 121.2 kB / 329.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.00897, allocations: 49.31 kB / 329.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.009008, allocations: 17.27 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.00901, allocations: 5.219 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.009016, allocations: 2.047 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.009019, allocations: 1.094 kB / 329.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.009176, allocations: 125 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.009178, allocations: 1.031 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.009238, allocations: 9.891 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.00924, allocations: 1.156 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.009248, allocations: 1.672 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.009251, allocations: 1.938 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.009253, allocations: 1.188 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.009462, allocations: 179.4 kB / 329.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.009503, allocations: 26.2 kB / 329.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.009519, allocations: 1.156 kB / 329.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.009588, allocations: 3.625 kB / 329.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.009614, allocations: 1.906 kB / 329.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.009619, allocations: 2.859 kB / 329.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.398e-05/0.009703, allocations: 112 kB / 330 MB, free: 12.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.009703, allocations: 3.938 kB / 330 MB, free: 12.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.009922, allocations: 8.25 kB / 330.1 MB, free: 12.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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 0.0001047/0.01003, allocations: 104.6 kB / 330.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.01016, allocations: 22.22 kB / 330.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01016, allocations: 1.125 kB / 330.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.187e-05/0.0102, allocations: 11.23 kB / 330.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.01053, allocations: 24.3 kB / 330.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.01092, allocations: 182.9 kB / 330.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.508e-05/0.01102, allocations: 83.2 kB / 330.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.048e-05/0.01105, allocations: 7.312 kB / 330.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.01108, allocations: 11.11 kB / 330.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01108, allocations: 0 / 330.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Templates: time 0.00332/0.0144, allocations: 0.6274 MB / 331.1 MB, free: 12.13 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.434494357556105]