Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 96.27 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 152.9 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.524e-05, allocations: 6.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00455/0.004586, allocations: 1.571 MB / 273.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.006215, allocations: 0.5257 MB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.006319, allocations: 7.938 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.429e-05/0.006393, allocations: 7.922 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.006571, allocations: 11.92 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.006985, allocations: 63.62 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.00714, allocations: 43.86 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.007263, allocations: 16.16 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.007471, allocations: 39.84 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.007539, allocations: 15.92 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.007564, allocations: 4 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.007622, allocations: 11.98 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.007681, allocations: 11.94 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.00773, allocations: 15.92 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.007934, allocations: 55.8 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.007937, allocations: 0 / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007938, allocations: 0 / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.007944, allocations: 0 / 274.6 MB, free: 15.39 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.0006525/0.008596, allocations: 309.9 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.008646, allocations: 11.98 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.008871, allocations: 24.88 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.00924, allocations: 145.5 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.009259, allocations: 4.375 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.009273, allocations: 384 / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.009685, allocations: 109.6 kB / 275.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.009694, allocations: 8.125 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.009709, allocations: 4.125 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.009718, allocations: 4 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.009834, allocations: 19.98 kB / 275.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.01026, allocations: 205.4 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.01041, allocations: 45.22 kB / 275.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.01049, allocations: 17.77 kB / 275.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.01052, allocations: 0 / 275.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.01057, allocations: 42.44 kB / 275.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.01057, allocations: 4 kB / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003982/0.01097, allocations: 73.56 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/0.01106, allocations: 77.11 kB / 275.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.01129, allocations: 144.4 kB / 275.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.01131, allocations: 25.7 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.01141, allocations: 88.14 kB / 275.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.01143, allocations: 3.953 kB / 275.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.01148, allocations: 13.97 kB / 275.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.01172, allocations: 326.8 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.01178, allocations: 4 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.763e-05/0.01183, allocations: 7.984 kB / 276.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.01193, allocations: 16.86 kB / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01194, allocations: 0 / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000189/0.01213, allocations: 61.5 kB / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.01215, allocations: 4 kB / 276.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01215, allocations: 4.094 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.01217, allocations: 0 / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.01226, allocations: 4 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01226, allocations: 0 / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.01231, allocations: 4 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.01233, allocations: 7.984 kB / 276.4 MB, free: 13.4 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 0.0001286/0.01245, allocations: 109.8 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.01256, allocations: 49.53 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.0126, allocations: 7.797 kB / 276.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.0126, allocations: 4.031 kB / 276.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.01261, allocations: 4 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01262, allocations: 0 / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.01286, allocations: 117.2 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01286, allocations: 4 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.01294, allocations: 7.984 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01294, allocations: 0 / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.01296, allocations: 7.922 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.01296, allocations: 0 / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.01296, allocations: 4 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.01327, allocations: 168.3 kB / 276.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.01332, allocations: 11.94 kB / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.01335, allocations: 7.938 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.01347, allocations: 3.984 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.01351, allocations: 4 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.01352, allocations: 4 kB / 276.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001432/0.01366, allocations: 107.2 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01366, allocations: 0 / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004085/0.01407, allocations: 8 kB / 277 MB, free: 12.72 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 0.0001591/0.01423, allocations: 103.2 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.01441, allocations: 15.98 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01441, allocations: 0 / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-05/0.01448, allocations: 11.94 kB / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.01504, allocations: 23.56 kB / 277.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.01555, allocations: 164.8 kB / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.01568, allocations: 75.55 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.814e-05/0.01573, allocations: 4.25 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.01578, allocations: 8.5 kB / 277.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of SimCode: time 3.6e-07/0.01578, allocations: 0 / 277.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of Templates: time 0.00456/0.02034, allocations: 0.5779 MB / 278 MB, free: 11.7 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.349727650987916]