Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.0009578/0.0009578, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001045/0.001045, allocations: 170.8 kB / 24.92 MB, free: 8.773 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.9643/0.9643, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.266e-05, allocations: 2.312 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00183/0.001843, allocations: 1.672 MB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.00255, allocations: 0.5296 MB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.365e-05/0.002624, allocations: 4 kB / 275.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.129e-05/0.002665, allocations: 3.938 kB / 275.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.00279, allocations: 11.86 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.002993, allocations: 55.77 kB / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.969e-05/0.003083, allocations: 51.78 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.287e-05/0.003156, allocations: 16.11 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.003256, allocations: 35.84 kB / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.003299, allocations: 15.97 kB / 275.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.003312, allocations: 0 / 275.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.197e-05/0.003364, allocations: 12 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.003399, allocations: 15.92 kB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.003415, allocations: 11.94 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.003515, allocations: 47.81 kB / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.003517, allocations: 0 / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003517, allocations: 0 / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.003521, allocations: 0 / 276 MB, free: 14.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002684/0.003789, allocations: 280.5 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.00382, allocations: 8.031 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.57e-05/0.003916, allocations: 20.92 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.004051, allocations: 149.5 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.004058, allocations: 4.375 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-06/0.004064, allocations: 4.375 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.00422, allocations: 106.3 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.004226, allocations: 192 / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.004233, allocations: 4.125 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.004237, allocations: 4 kB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.573e-05/0.004253, allocations: 7.984 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.0044, allocations: 153.1 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.524e-05/0.004435, allocations: 33.25 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.00445, allocations: 13.66 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.004463, allocations: 4.062 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.004481, allocations: 30.56 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.004482, allocations: 0 / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001028/0.004585, allocations: 57.78 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.004619, allocations: 77.11 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.004687, allocations: 141.5 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.004696, allocations: 29.7 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.004722, allocations: 80.14 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.004735, allocations: 3.953 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.004756, allocations: 17.72 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.004825, allocations: 322.8 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-06/0.00483, allocations: 0 / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.004836, allocations: 0 / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.895e-05/0.004855, allocations: 20.83 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.004856, allocations: 0 / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.079e-05/0.004887, allocations: 33.69 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.004898, allocations: 8 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.004903, allocations: 3.938 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.004913, allocations: 0 / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.928e-05/0.004952, allocations: 0 / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.004954, allocations: 4 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.004966, allocations: 0 / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.00497, allocations: 0 / 277.5 MB, free: 13.01 MB / 266.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 4.738e-05/0.005018, allocations: 116.7 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.005045, allocations: 37.64 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.005069, allocations: 19.73 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.00507, allocations: 0 / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.005071, allocations: 0 / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005074, allocations: 0 / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.014e-05/0.005144, allocations: 73.88 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.005145, allocations: 0 / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.00516, allocations: 8 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-07/0.005161, allocations: 0 / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.005165, allocations: 8.031 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005166, allocations: 0 / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.005167, allocations: 3.938 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.697e-05/0.005234, allocations: 136.3 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.005256, allocations: 19.94 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.005264, allocations: 0 / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/0.005293, allocations: 4 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.005313, allocations: 3.938 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.005315, allocations: 0 / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.089e-05/0.005336, allocations: 24.83 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005336, allocations: 8.031 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001063/0.005442, allocations: 4 kB / 278 MB, free: 12.5 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 (2): * Single equations (assignments): 2 * 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 5.464e-05/0.005497, allocations: 76.41 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.727e-05/0.005544, allocations: 16.86 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005546, allocations: 0 / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.789e-06/0.005556, allocations: 8.797 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.005719, allocations: 22.98 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.006044, allocations: 187.8 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.29e-05/0.006077, allocations: 59.34 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.726e-05/0.006094, allocations: 0 / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.00614, allocations: 59.36 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of SimCode: time 3.61e-07/0.006141, allocations: 0 / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of Templates: time 0.001832/0.007973, allocations: 0.603 MB / 279 MB, free: 11.42 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.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.583981801290065]