Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001097/0.001097, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009858/0.0009858, allocations: 156.5 kB / 24.55 MB, free: 16 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.023/1.023, allocations: 177 MB / 204.8 MB, free: 5.602 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.298e-05, allocations: 6.312 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002152/0.002175, allocations: 1.564 MB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.00253, allocations: 147.4 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.002608, allocations: 7.938 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.114e-05/0.00266, allocations: 3.938 kB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.00279, allocations: 11.92 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.002994, allocations: 43.78 kB / 274.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.504e-05/0.003089, allocations: 27.92 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003194, allocations: 11.98 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.003241, allocations: 23.91 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.003279, allocations: 4 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.003301, allocations: 7.938 kB / 274.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.00331, allocations: 0 / 274.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.003357, allocations: 11.98 kB / 274.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.003385, allocations: 11.94 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.861e-05/0.003483, allocations: 39.83 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003486, allocations: 4 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003487, allocations: 0 / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.00349, allocations: 0 / 274.8 MB, free: 15.55 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003638/0.003854, allocations: 392.4 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.00389, allocations: 11.98 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.003925, allocations: 12.89 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.004084, allocations: 140.4 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.004094, allocations: 4.375 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.004104, allocations: 8.375 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.00432, allocations: 125.6 kB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004328, allocations: 12.11 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.004336, allocations: 384 / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.004343, allocations: 384 / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.004364, allocations: 15.86 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.004595, allocations: 263.5 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.004727, allocations: 70.11 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.004761, allocations: 31.42 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.004776, allocations: 0 / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.004798, allocations: 41.39 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.004799, allocations: 0 / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001339/0.004932, allocations: 61.52 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.00498, allocations: 81.11 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.005068, allocations: 188.9 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.005077, allocations: 25.7 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.00513, allocations: 134.9 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.005138, allocations: 8.078 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.005164, allocations: 27.3 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.00528, allocations: 496.1 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-06/0.005288, allocations: 0 / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-06/0.005293, allocations: 4 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.744e-05/0.00531, allocations: 7.688 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005312, allocations: 0 / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.06e-05/0.005353, allocations: 37.69 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.005366, allocations: 4 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.005371, allocations: 4.031 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.005382, allocations: 4 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.005423, allocations: 4 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.005428, allocations: 3.938 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.00544, allocations: 4 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.005445, allocations: 4 kB / 277 MB, free: 13.11 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 6.639e-05/0.005511, allocations: 152.6 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.005553, allocations: 49.64 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.005578, allocations: 8.281 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.00558, allocations: 4 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.005583, allocations: 7.938 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.005588, allocations: 3.984 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.972e-05/0.005687, allocations: 124.6 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005689, allocations: 0 / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.005712, allocations: 8 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005713, allocations: 0 / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.005723, allocations: 4 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.005725, allocations: 3.938 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005726, allocations: 3.938 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.005841, allocations: 211.8 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.005872, allocations: 15.94 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.005883, allocations: 8 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.846e-05/0.005912, allocations: 7.938 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.005943, allocations: 3.984 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.005947, allocations: 4 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.927e-05/0.005997, allocations: 139.2 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005997, allocations: 0 / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001313/0.006128, allocations: 4 kB / 277.8 MB, free: 12.29 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 7.372e-05/0.006202, allocations: 95.25 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.389e-05/0.006286, allocations: 27.61 kB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006287, allocations: 0 / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.19e-05/0.006299, allocations: 11.69 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.006531, allocations: 21.5 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.006789, allocations: 164.7 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.519e-05/0.006834, allocations: 63.34 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.37e-05/0.006848, allocations: 0 / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.006875, allocations: 8.5 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.006875, allocations: 128 / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of Templates: time 0.002152/0.009027, allocations: 0.5468 MB / 278.7 MB, free: 11.29 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.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.7569936108775437]