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) 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001654/0.001654, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002502/0.002502, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 55.91 kB / 358.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3876, allocations: 50.54 MB / 409.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002483/0.3902, allocations: 1.428 MB / 410.7 MB, free: 224 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002052/0.3904, allocations: 35.84 kB / 410.7 MB, free: 188 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.3905, allocations: 0 / 410.7 MB, free: 188 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.3905, allocations: 0 / 410.7 MB, free: 188 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.947e-05/0.3906, allocations: 3.938 kB / 410.7 MB, free: 184 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.3909, allocations: 23.97 kB / 410.7 MB, free: 160 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.391, allocations: 27.92 kB / 410.8 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.3911, allocations: 11.98 kB / 410.8 MB, free: 120 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.3912, allocations: 11.94 kB / 410.8 MB, free: 108 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.3912, allocations: 15.92 kB / 410.8 MB, free: 92 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.3912, allocations: 4 kB / 410.8 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.3913, allocations: 4 kB / 410.8 MB, free: 84 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.3913, allocations: 7.984 kB / 410.8 MB, free: 76 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.3913, allocations: 19.86 kB / 410.8 MB, free: 56 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.3914, allocations: 27.84 kB / 410.9 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.3915, allocations: 7.938 kB / 410.9 MB, free: 20 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3915, allocations: 0 / 410.9 MB, free: 20 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3915, allocations: 0 / 410.9 MB, free: 20 kB / 318.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.0005002/0.392, allocations: 347.3 kB / 411.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.392, allocations: 12.03 kB / 411.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.3921, allocations: 0.9375 kB / 411.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.3923, allocations: 184.3 kB / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3924, allocations: 4.359 kB / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.3924, allocations: 4.375 kB / 411.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.3927, allocations: 119.8 kB / 411.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3927, allocations: 4.188 kB / 411.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3928, allocations: 15.88 kB / 411.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3928, allocations: 0 / 411.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3929, allocations: 23.91 kB / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.393, allocations: 153.7 kB / 411.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.3932, allocations: 54.55 kB / 411.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.3933, allocations: 32.92 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.3933, allocations: 4 kB / 411.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3933, allocations: 34.55 kB / 411.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.3933, allocations: 0 / 411.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002594/0.3936, allocations: 89.44 kB / 411.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3936, allocations: 51.41 kB / 412 MB, free: 14.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.3937, allocations: 105.8 kB / 412.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3937, allocations: 25.7 kB / 412.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.3938, allocations: 92.14 kB / 412.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.3938, allocations: 0 / 412.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.3938, allocations: 17.72 kB / 412.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.394, allocations: 318.8 kB / 412.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.394, allocations: 4 kB / 412.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/0.394, allocations: 27.81 kB / 412.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.855e-05/0.3941, allocations: 39.38 kB / 412.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3941, allocations: 0 / 412.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.141e-05/0.3942, allocations: 69.47 kB / 412.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3942, allocations: 10.81 kB / 412.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3942, allocations: 3.938 kB / 412.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3942, allocations: 4.125 kB / 412.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.3943, allocations: 11.98 kB / 412.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3943, allocations: 0 / 412.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.3943, allocations: 8 kB / 412.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.3943, allocations: 0 / 412.7 MB, free: 13.93 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.682e-05/0.3944, allocations: 117.7 kB / 412.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.3946, allocations: 73.55 kB / 412.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.3946, allocations: 7.844 kB / 412.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3946, allocations: 240 / 412.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3946, allocations: 4 kB / 412.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3946, allocations: 7.969 kB / 412.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.965e-05/0.3947, allocations: 153.7 kB / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3947, allocations: 0 / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.873e-05/0.3948, allocations: 15.98 kB / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3948, allocations: 0 / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.3948, allocations: 7.938 kB / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3948, allocations: 0 / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3948, allocations: 0 / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.395, allocations: 96.95 kB / 413.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.3951, allocations: 81.09 kB / 413.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3951, allocations: 7.938 kB / 413.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.91e-05/0.3951, allocations: 0 / 413.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-06/0.3951, allocations: 0 / 413.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3951, allocations: 4 kB / 413.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.802e-05/0.3952, allocations: 87.27 kB / 413.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3952, allocations: 0 / 413.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001852/0.3954, allocations: 4 kB / 413.3 MB, free: 13.16 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: 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 0.0001128/0.3955, allocations: 100.5 kB / 413.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.3957, allocations: 35.92 kB / 413.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3957, allocations: 0 / 413.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.3957, allocations: 0 / 413.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.3959, allocations: 24.02 kB / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.3963, allocations: 113.6 kB / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3966, allocations: 0.6885 MB / 414.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.612e-05/0.3966, allocations: 0 / 414.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.3966, allocations: 11.44 kB / 414.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3966, allocations: 0 / 414.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Templates: time 0.002831/0.3995, allocations: 444.4 kB / 414.7 MB, free: 11.71 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches