Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001494/0.001494, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.002064/0.002064, allocations: 163.8 kB / 24.99 MB, free: 9.324 MB / 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.031/1.031, allocations: 177 MB / 205.2 MB, free: 5.223 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.384e-05/3.572e-05, allocations: 3.719 kB / 273 MB, free: 1.598 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003137/0.003173, allocations: 1.564 MB / 274.5 MB, free: 20 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003452/0.003518, allocations: 139.4 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.003597, allocations: 4 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.956e-05/0.003646, allocations: 3.938 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.003786, allocations: 15.84 kB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.004021, allocations: 39.84 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.004129, allocations: 27.92 kB / 274.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.004236, allocations: 0 / 274.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.004286, allocations: 19.92 kB / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.00433, allocations: 11.98 kB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.004352, allocations: 0 / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.004362, allocations: 4 kB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.004411, allocations: 15.92 kB / 274.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.004435, allocations: 7.938 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.004543, allocations: 27.84 kB / 274.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004546, allocations: 0 / 274.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.004547, allocations: 4 kB / 274.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.004553, allocations: 0 / 274.9 MB, free: 15.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004082/0.004961, allocations: 388.4 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.004996, allocations: 15.98 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.005036, allocations: 12.89 kB / 275.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.005197, allocations: 135.2 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.005205, allocations: 4.375 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.005214, allocations: 4.375 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.005415, allocations: 105.6 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.005422, allocations: 4.188 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.005431, allocations: 4.375 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.005438, allocations: 384 / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.005457, allocations: 7.938 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.005707, allocations: 267.4 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.005758, allocations: 46.25 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.005783, allocations: 23.38 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.005802, allocations: 4 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.005831, allocations: 41.33 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.005833, allocations: 0 / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.00018/0.006013, allocations: 53.56 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.006064, allocations: 77.11 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.006184, allocations: 189.9 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.006194, allocations: 25.7 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.006247, allocations: 134.8 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.006256, allocations: 0 / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.00629, allocations: 27.61 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.00641, allocations: 0.4884 MB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.006422, allocations: 0 / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.006428, allocations: 0 / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.349e-05/0.006452, allocations: 11.69 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006454, allocations: 0 / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.797e-05/0.006512, allocations: 41.59 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.006527, allocations: 8 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.006536, allocations: 7.922 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.006549, allocations: 0 / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.08e-05/0.00661, allocations: 4.094 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.006615, allocations: 0 / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.006633, allocations: 4 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.006638, allocations: 0 / 277 MB, free: 13.35 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: 1 (step.y) * 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 7.745e-05/0.006715, allocations: 152.6 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.006769, allocations: 41.64 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.0068, allocations: 15.75 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006802, allocations: 3.938 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.006809, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00301/0.009819, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.009956, allocations: 132.7 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.009957, allocations: 0 / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.009991, allocations: 4 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.009999, allocations: 7.984 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.01, allocations: 0 / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.01001, allocations: 3.938 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01001, allocations: 0 / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.01012, allocations: 187.6 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.01016, allocations: 27.86 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.01017, allocations: 0 / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.932e-05/0.01022, allocations: 7.969 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.01025, allocations: 7.938 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.01026, allocations: 3.938 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.152e-05/0.01032, allocations: 145.8 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01032, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.01053, allocations: 4 kB / 277.7 MB, free: 12.54 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: 2 (step.y,sample1.y) * 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 9.083e-05/0.01062, allocations: 95.25 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.049e-05/0.0107, allocations: 15.69 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0107, allocations: 4.062 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.01071, allocations: 7.688 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.01103, allocations: 20.23 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.01131, allocations: 149.4 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.01135, allocations: 59.34 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.532e-05/0.01136, allocations: 0 / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.01139, allocations: 8.5 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01139, allocations: 0 / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of Templates: time 0.005394/0.01678, allocations: 495.2 kB / 278.5 MB, free: 11.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.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.8627356700599194]