Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001291/0.001291, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001729/0.001729, allocations: 166.9 kB / 24.91 MB, free: 8.758 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.001/1.001, allocations: 177 MB / 205.2 MB, free: 5.422 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.264e-05, allocations: 2.312 kB / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002002/0.002024, allocations: 1.54 MB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002421/0.002267, allocations: 111.5 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.002321, allocations: 7.938 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.002348, allocations: 4 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.737e-05/0.002385, allocations: 7.875 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.002588, allocations: 23.91 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.929e-05/0.002657, allocations: 23.92 kB / 275.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.901e-05/0.002726, allocations: 8 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.00277, allocations: 11.98 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.674e-05/0.002807, allocations: 11.92 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.002824, allocations: 4 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-06/0.002831, allocations: 0 / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.002849, allocations: 11.98 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.002867, allocations: 7.938 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.779e-05/0.002935, allocations: 27.84 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.002937, allocations: 0 / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.002938, allocations: 0 / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.002942, allocations: 0 / 275.2 MB, free: 15.36 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.0002464/0.003188, allocations: 236.9 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.003218, allocations: 11.98 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.003242, allocations: 8.922 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.003363, allocations: 121.7 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-06/0.00337, allocations: 8.312 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.003378, allocations: 8.359 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.003526, allocations: 92.58 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003532, allocations: 192 / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.003538, allocations: 384 / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.003543, allocations: 384 / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.787e-05/0.003561, allocations: 11.92 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.998e-05/0.003621, allocations: 65.03 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.003676, allocations: 34.5 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.003693, allocations: 12.86 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.003704, allocations: 0 / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.003722, allocations: 34.5 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.003723, allocations: 0 / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.465e-05/0.003808, allocations: 41.69 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.003841, allocations: 59.41 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.372e-05/0.003895, allocations: 114.7 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.003903, allocations: 25.7 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.02e-05/0.003923, allocations: 80.14 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-06/0.003925, allocations: 4 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.855e-05/0.003944, allocations: 17.7 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.004017, allocations: 318.8 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-06/0.004022, allocations: 3.938 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.927e-06/0.004026, allocations: 0 / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.845e-05/0.004044, allocations: 79.28 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/0.004064, allocations: 75.28 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.853e-05/0.004103, allocations: 25.7 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.004131, allocations: 85.94 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.004152, allocations: 83.22 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.12e-05/0.004193, allocations: 154.5 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.749e-05/0.00421, allocations: 83.28 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.111e-05/0.004241, allocations: 154.5 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.004283, allocations: 75.28 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.004302, allocations: 83.22 kB / 277.4 MB, free: 13.03 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 (0): * Single equations (assignments): 0 * 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.796e-05/0.00437, allocations: 185.1 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.004412, allocations: 37.69 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.004434, allocations: 12 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.004435, allocations: 0 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.004437, allocations: 0 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.004441, allocations: 4.219 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.663e-05/0.004487, allocations: 73.78 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.00449, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.004547, allocations: 8 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.004549, allocations: 3.984 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.004554, allocations: 3.984 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.004556, allocations: 3.938 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.004556, allocations: 0 / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.102e-05/0.004597, allocations: 65 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.004605, allocations: 7.953 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-06/0.004611, allocations: 0 / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-06/0.00462, allocations: 4 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-06/0.004623, allocations: 3.984 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.004627, allocations: 4.25 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.84e-05/0.004645, allocations: 12.86 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004645, allocations: 0 / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001084/0.004754, allocations: 0 / 277.8 MB, free: 12.55 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: 3 (step.y,assignClock1.u,assignClock1.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.64e-05/0.00483, allocations: 80.42 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.821e-05/0.004868, allocations: 11.98 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.004872, allocations: 4 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-07/0.004872, allocations: 3.938 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.004979, allocations: 17.09 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001876/0.005167, allocations: 107.5 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.925e-05/0.005196, allocations: 59.34 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.523e-06/0.005203, allocations: 0 / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.005231, allocations: 51.38 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of SimCode: time 5.82e-07/0.005232, allocations: 0 / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of Templates: time 0.001503/0.006735, allocations: 312.8 kB / 278.4 MB, free: 11.86 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.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.5600266219116747]