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.0007804/0.0007804, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003024/0.003024, allocations: 160.5 kB / 24.7 MB, free: 9.426 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.9139/0.9139, allocations: 177.1 MB / 205 MB, free: 5.742 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.423e-06/1.423e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.17e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001842/0.001863, allocations: 1.578 MB / 327.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007959/0.002659, allocations: 0.5413 MB / 327.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.002735, allocations: 3.938 kB / 327.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.002779, allocations: 7.922 kB / 327.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.002901, allocations: 7.938 kB / 328 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.003155, allocations: 71.67 kB / 328 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.704e-05/0.003252, allocations: 43.8 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/0.003347, allocations: 12.17 kB / 328.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.003453, allocations: 35.89 kB / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.003498, allocations: 11.94 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.003513, allocations: 4 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.602e-05/0.003559, allocations: 11.98 kB / 328.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.003618, allocations: 15.92 kB / 328.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.003638, allocations: 11.94 kB / 328.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.003763, allocations: 63.72 kB / 328.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.003765, allocations: 8 kB / 328.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003766, allocations: 0 / 328.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.00377, allocations: 0 / 328.2 MB, free: 13.01 MB / 298.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.0003555/0.004125, allocations: 294 kB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.00416, allocations: 12.03 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.004267, allocations: 16.88 kB / 328.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.004439, allocations: 149.5 kB / 328.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.004448, allocations: 4.375 kB / 328.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.004459, allocations: 12.38 kB / 328.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.004662, allocations: 101.6 kB / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.00467, allocations: 192 / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.004679, allocations: 4.125 kB / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.004683, allocations: 0 / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.489e-05/0.004728, allocations: 23.97 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.004951, allocations: 205.4 kB / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.477e-05/0.005006, allocations: 45.22 kB / 329.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.005035, allocations: 17.77 kB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.005052, allocations: 4 kB / 329.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.005073, allocations: 46.38 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.005074, allocations: 0 / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001703/0.005244, allocations: 69.56 kB / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.005291, allocations: 77.36 kB / 329.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.005382, allocations: 145.6 kB / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.005391, allocations: 29.7 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.005431, allocations: 88.12 kB / 329.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.005444, allocations: 7.953 kB / 329.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.005466, allocations: 9.719 kB / 329.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.005544, allocations: 322.8 kB / 329.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.005562, allocations: 4 kB / 329.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.398e-05/0.005576, allocations: 4 kB / 329.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/0.005614, allocations: 24.91 kB / 329.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005617, allocations: 0 / 329.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.108e-05/0.005678, allocations: 65.5 kB / 330 MB, free: 11.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.005689, allocations: 4 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005693, allocations: 0 / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.005703, allocations: 0 / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.546e-05/0.005749, allocations: 4 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.005752, allocations: 0 / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.005767, allocations: 0 / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.005772, allocations: 4 kB / 330 MB, free: 11.05 MB / 298.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.579e-05/0.005827, allocations: 117.9 kB / 330.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.005859, allocations: 49.59 kB / 330.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.00588, allocations: 15.69 kB / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.005882, allocations: 4 kB / 330.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.005886, allocations: 0 / 330.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.005888, allocations: 0 / 330.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.612e-05/0.005974, allocations: 113.3 kB / 330.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.005976, allocations: 7.938 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.005992, allocations: 7.984 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.005993, allocations: 4.031 kB / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.006, allocations: 3.938 kB / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006, allocations: 0 / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.006002, allocations: 4 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.249e-05/0.006094, allocations: 156.4 kB / 330.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.006119, allocations: 15.88 kB / 330.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.006137, allocations: 3.938 kB / 330.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.289e-05/0.00617, allocations: 7.984 kB / 330.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.006193, allocations: 0 / 330.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.006195, allocations: 4.031 kB / 330.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.503e-05/0.00625, allocations: 121.8 kB / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00625, allocations: 3.938 kB / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001364/0.006386, allocations: 4 kB / 330.6 MB, free: 10.36 MB / 298.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 6.156e-05/0.006448, allocations: 95.25 kB / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.887e-05/0.006527, allocations: 23.98 kB / 330.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.006529, allocations: 0 / 330.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.685e-05/0.006545, allocations: 4 kB / 330.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.006765, allocations: 20.14 kB / 330.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.007001, allocations: 191.8 kB / 331 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.698e-05/0.007058, allocations: 75.08 kB / 331 MB, free: 9.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.007082, allocations: 8.5 kB / 331 MB, free: 9.883 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007083, allocations: 4 kB / 331 MB, free: 9.879 MB / 298.7 MB Notification: Performance of Templates: time 0.001423/0.008505, allocations: 0.7657 MB / 331.8 MB, free: 9.121 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.28505446575582]