Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001008/0.001008, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001091/0.001091, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9903/0.9903, allocations: 177 MB / 204.8 MB, free: 5.617 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.751e-05, allocations: 5.266 kB / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001937/0.001954, allocations: 1.49 MB / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007521/0.002706, allocations: 35.8 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.002773, allocations: 0 / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.002806, allocations: 3.938 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.002846, allocations: 0 / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.003112, allocations: 35.84 kB / 274.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.361e-05/0.003196, allocations: 27.92 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.003294, allocations: 11.98 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.003341, allocations: 8 kB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.003376, allocations: 11.92 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.003397, allocations: 4 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-06/0.003407, allocations: 7.938 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.003427, allocations: 7.984 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.003453, allocations: 11.98 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.314e-05/0.003536, allocations: 15.92 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003538, allocations: 0 / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003539, allocations: 4 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.003542, allocations: 0 / 274.6 MB, free: 15.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000331/0.003873, allocations: 376.6 kB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.003919, allocations: 11.98 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.003964, allocations: 8.891 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.004145, allocations: 120.6 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.004169, allocations: 384 / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.004183, allocations: 4.375 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.004405, allocations: 114.2 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.004412, allocations: 192 / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.00442, allocations: 384 / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.004426, allocations: 384 / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.004451, allocations: 7.938 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.375e-05/0.004544, allocations: 128.5 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.004611, allocations: 43.05 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.004643, allocations: 19.72 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.004651, allocations: 3.938 kB / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.00467, allocations: 37.39 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.00467, allocations: 4 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001257/0.004796, allocations: 45.73 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.004837, allocations: 55.41 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.004907, allocations: 169.9 kB / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.004915, allocations: 25.7 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.004951, allocations: 130.9 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.004964, allocations: 3.984 kB / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.004985, allocations: 19.38 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.005149, allocations: 0.4884 MB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.005164, allocations: 3.938 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.005173, allocations: 4 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.0052, allocations: 11.69 kB / 276.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005202, allocations: 0 / 276.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.629e-05/0.005248, allocations: 45.64 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.005262, allocations: 10.97 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.005266, allocations: 0 / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.005279, allocations: 0 / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.511e-05/0.005324, allocations: 4 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.005329, allocations: 0 / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.011e-05/0.005339, allocations: 8.062 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-06/0.005342, allocations: 4.094 kB / 276.5 MB, free: 13.71 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.88e-05/0.005401, allocations: 156.6 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.005442, allocations: 49.92 kB / 276.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.005465, allocations: 8 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.005466, allocations: 0 / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.005469, allocations: 4 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.005473, allocations: 11.86 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.941e-05/0.005523, allocations: 116.6 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.02e-07/0.005523, allocations: 0 / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.005559, allocations: 11.98 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.00556, allocations: 4 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.005566, allocations: 0 / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005567, allocations: 0 / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005567, allocations: 4 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.114e-05/0.005628, allocations: 84.31 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.005636, allocations: 8 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.005648, allocations: 0 / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.246e-05/0.00566, allocations: 7.984 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.005663, allocations: 0 / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.005666, allocations: 4 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.256e-05/0.005698, allocations: 123.2 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005698, allocations: 4 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001099/0.005808, allocations: 4 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 6.274e-05/0.005871, allocations: 99.19 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.00594, allocations: 27.61 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.005942, allocations: 0 / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.005942, allocations: 0 / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.006125, allocations: 21.42 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.006333, allocations: 116.9 kB / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.865e-05/0.006362, allocations: 59.36 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.72e-05/0.006379, allocations: 7.984 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.006404, allocations: 8.5 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of SimCode: time 5.52e-07/0.006405, allocations: 0 / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Templates: time 0.002018/0.008422, allocations: 453.4 kB / 277.8 MB, free: 12.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.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.823353743646294]