Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001431/0.001431, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00104/0.00104, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9588/0.9588, allocations: 177.1 MB / 205 MB, free: 5.629 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.286e-05, allocations: 6.312 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00194/0.001963, allocations: 1.615 MB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007096/0.002673, allocations: 0.553 MB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.002741, allocations: 7.938 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.002784, allocations: 3.938 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.002905, allocations: 19.84 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.003154, allocations: 55.7 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.92e-05/0.003243, allocations: 51.84 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.12e-05/0.003324, allocations: 8.172 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.003438, allocations: 31.91 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.003484, allocations: 23.91 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.003498, allocations: 0 / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.332e-05/0.003531, allocations: 12 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.003569, allocations: 15.92 kB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.003588, allocations: 8 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.003697, allocations: 55.64 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003699, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.0037, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.003704, allocations: 0 / 275.4 MB, free: 15.09 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.0003313/0.004035, allocations: 412.3 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.004067, allocations: 8.031 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.004171, allocations: 20.89 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.004315, allocations: 151.4 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.004322, allocations: 384 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.004332, allocations: 8.312 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.004551, allocations: 121.6 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.004557, allocations: 192 / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004566, allocations: 4.125 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.004572, allocations: 0 / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.004589, allocations: 8 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.004799, allocations: 267.5 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.004845, allocations: 54.06 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.004866, allocations: 19.5 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.004878, allocations: 7.922 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.004897, allocations: 45.27 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.004898, allocations: 0 / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001215/0.00502, allocations: 45.66 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.005056, allocations: 85.3 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.005151, allocations: 197.9 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.005159, allocations: 25.7 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.005205, allocations: 134.8 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.005217, allocations: 4 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.00524, allocations: 23.36 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.005349, allocations: 496.1 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.005363, allocations: 0 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-06/0.005369, allocations: 0 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.148e-05/0.00539, allocations: 11.69 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005393, allocations: 8.062 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.722e-05/0.00544, allocations: 53.52 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.005451, allocations: 4 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.005455, allocations: 0 / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.005465, allocations: 0 / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.031e-05/0.005515, allocations: 4 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.005519, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.005533, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.005539, allocations: 3.984 kB / 277.6 MB, free: 12.66 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 5.11e-05/0.00559, allocations: 156.6 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.005622, allocations: 45.59 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.005645, allocations: 7.812 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.005648, allocations: 3.984 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.005651, allocations: 7.984 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.005654, allocations: 0 / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.768e-05/0.005741, allocations: 128.6 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005742, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.005761, allocations: 4 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.005763, allocations: 4 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.00577, allocations: 3.938 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.005773, allocations: 8.016 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005773, allocations: 0 / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.492e-05/0.005858, allocations: 203.5 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.005882, allocations: 19.86 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.005892, allocations: 3.938 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.928e-05/0.005922, allocations: 4 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.005948, allocations: 7.984 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.00595, allocations: 3.938 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.684e-05/0.005997, allocations: 146.3 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005997, allocations: 0 / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001302/0.006127, allocations: 8.031 kB / 278.3 MB, free: 11.84 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.962e-05/0.006187, allocations: 95.25 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.153e-05/0.006248, allocations: 19.67 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.00625, allocations: 0 / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.006262, allocations: 7.688 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.006484, allocations: 24.23 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.00687, allocations: 173.2 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.006902, allocations: 59.36 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.979e-05/0.006922, allocations: 3.984 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.006945, allocations: 12.5 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.006946, allocations: 0 / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of Templates: time 0.00199/0.008936, allocations: 0.6051 MB / 279.3 MB, free: 10.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.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.581145345233381]