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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001218/0.001218, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3725, allocations: 50.54 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003784/0.3764, allocations: 1.449 MB / 410.7 MB, free: 140 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003586/0.3768, allocations: 95.67 kB / 410.8 MB, free: 44 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.3769, allocations: 0 / 410.8 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.377, allocations: 3.984 kB / 410.8 MB, free: 40 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.543e-05/0.3771, allocations: 11.94 kB / 410.8 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.3774, allocations: 19.91 kB / 410.8 MB, free: 8 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.3776, allocations: 23.98 kB / 410.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3778, allocations: 11.94 kB / 410.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.3778, allocations: 7.938 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.3779, allocations: 15.92 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.3779, allocations: 4 kB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.3779, allocations: 0 / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.378, allocations: 7.938 kB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.378, allocations: 11.94 kB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3782, allocations: 35.89 kB / 410.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3782, allocations: 0 / 410.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3782, allocations: 0 / 410.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3782, allocations: 0 / 410.9 MB, free: 15.89 MB / 334.1 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.0006747/0.3789, allocations: 343.3 kB / 411.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3789, allocations: 12.03 kB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.379, allocations: 0.9375 kB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.3793, allocations: 180.2 kB / 411.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.3793, allocations: 4.375 kB / 411.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.3793, allocations: 8.375 kB / 411.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.3797, allocations: 99.86 kB / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3797, allocations: 192 / 411.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.3798, allocations: 11.92 kB / 411.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3798, allocations: 0 / 411.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.23e-05/0.3799, allocations: 19.98 kB / 411.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.3801, allocations: 157.6 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3802, allocations: 58.48 kB / 411.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.463e-05/0.3803, allocations: 24.92 kB / 411.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3803, allocations: 0 / 411.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3804, allocations: 34.56 kB / 411.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.3804, allocations: 0 / 411.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003045/0.3807, allocations: 73.52 kB / 411.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.3808, allocations: 55.41 kB / 412 MB, free: 14.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3809, allocations: 113.8 kB / 412.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.381, allocations: 25.7 kB / 412.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.3811, allocations: 88.06 kB / 412.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.3811, allocations: 8 kB / 412.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.3811, allocations: 17.7 kB / 412.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3813, allocations: 318.8 kB / 412.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.3813, allocations: 0 / 412.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.916e-05/0.3814, allocations: 27.42 kB / 412.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.3814, allocations: 39.38 kB / 412.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3814, allocations: 0 / 412.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.558e-05/0.3815, allocations: 53.62 kB / 412.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3816, allocations: 4 kB / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.3816, allocations: 3.938 kB / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.3816, allocations: 4.125 kB / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.3817, allocations: 8 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.3817, allocations: 7.938 kB / 412.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.761e-05/0.3817, allocations: 5.516 kB / 412.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3818, allocations: 4 kB / 412.7 MB, free: 13.86 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.000111/0.3819, allocations: 113.8 kB / 412.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.382, allocations: 65.58 kB / 412.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.3821, allocations: 7.844 kB / 412.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3821, allocations: 0 / 412.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3821, allocations: 4 kB / 412.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3821, allocations: 0 / 412.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.3822, allocations: 153.7 kB / 413 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3822, allocations: 3.984 kB / 413 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.3823, allocations: 8 kB / 413.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3823, allocations: 0 / 413.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3823, allocations: 11.88 kB / 413.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.3823, allocations: 7.938 kB / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3823, allocations: 336 / 413.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.3825, allocations: 89.09 kB / 413.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.3826, allocations: 84.95 kB / 413.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3826, allocations: 3.938 kB / 413.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.791e-05/0.3826, allocations: 7.984 kB / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-06/0.3827, allocations: 0 / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3827, allocations: 0 / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.706e-05/0.3827, allocations: 83.28 kB / 413.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3827, allocations: 0 / 413.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000242/0.383, allocations: 8 kB / 413.3 MB, free: 13.11 MB / 334.1 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 0.0001523/0.3831, allocations: 95.25 kB / 413.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.3833, allocations: 27.92 kB / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3833, allocations: 3.938 kB / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.3833, allocations: 0 / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.3836, allocations: 19.98 kB / 413.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.384, allocations: 121.8 kB / 413.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.3844, allocations: 0.6768 MB / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.3844, allocations: 7.984 kB / 414.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.3845, allocations: 7.438 kB / 414.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3845, allocations: 0 / 414.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Templates: time 0.002919/0.3874, allocations: 316.7 kB / 414.6 MB, free: 11.79 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches