Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009925/0.0009924, allocations: 199.6 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.5 MB / 245.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007162/0.0007162, allocations: 113.6 kB / 297.4 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002094/0.0002095, allocations: 8 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2073, allocations: 51.29 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0866/0.2939, allocations: 76.79 MB / 485.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.2942, allocations: 75.95 kB / 485.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001827/0.296, allocations: 0.7746 MB / 486.3 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.296, allocations: 0 / 486.3 MB, free: 14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.2961, allocations: 7.938 kB / 486.3 MB, free: 13.99 MB / 362.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.0003086/0.2964, allocations: 338.7 kB / 486.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2964, allocations: 8.031 kB / 486.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.2964, allocations: 9.5 kB / 486.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.2966, allocations: 177.1 kB / 486.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2966, allocations: 384 / 486.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.2966, allocations: 5.75 kB / 486.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.297, allocations: 121.1 kB / 487 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.297, allocations: 4.172 kB / 487 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.297, allocations: 3.938 kB / 487 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.297, allocations: 6.844 kB / 487 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.2971, allocations: 35.84 kB / 487 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.2973, allocations: 157.7 kB / 487.2 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.2974, allocations: 58.58 kB / 487.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.063e-05/0.2975, allocations: 26.14 kB / 487.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.2975, allocations: 0 / 487.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2975, allocations: 34.56 kB / 487.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.2975, allocations: 0 / 487.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002573/0.2978, allocations: 89.53 kB / 487.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.2979, allocations: 59.31 kB / 487.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.2979, allocations: 105.8 kB / 487.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.298, allocations: 29.64 kB / 487.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.298, allocations: 84.14 kB / 487.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.298, allocations: 4 kB / 487.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.298, allocations: 0 / 487.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.2981, allocations: 318.8 kB / 488 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.2981, allocations: 8 kB / 488 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.2982, allocations: 27.44 kB / 488 MB, free: 12.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.519e-05/0.2982, allocations: 43.36 kB / 488 MB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2982, allocations: 0 / 488 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.774e-05/0.2983, allocations: 57.58 kB / 488.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2983, allocations: 7.984 kB / 488.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2983, allocations: 3.938 kB / 488.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2984, allocations: 4 kB / 488.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.2984, allocations: 8 kB / 488.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2984, allocations: 0 / 488.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.2985, allocations: 11.97 kB / 488.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.2985, allocations: 8 kB / 488.1 MB, free: 11.94 MB / 362.7 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 (step.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/0.2985, allocations: 110.8 kB / 488.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.2987, allocations: 65.61 kB / 488.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.2987, allocations: 15.83 kB / 488.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2987, allocations: 0 / 488.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2987, allocations: 0 / 488.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2988, allocations: 0 / 488.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.361e-05/0.2988, allocations: 153.7 kB / 488.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2989, allocations: 4 kB / 488.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.2989, allocations: 11.98 kB / 488.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2989, allocations: 0 / 488.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2989, allocations: 11.94 kB / 488.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2989, allocations: 0 / 488.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2989, allocations: 0 / 488.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.2991, allocations: 93.23 kB / 488.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.2992, allocations: 77.48 kB / 488.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2992, allocations: 11.98 kB / 488.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.523e-05/0.2992, allocations: 15.92 kB / 488.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.2992, allocations: 0 / 488.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.2992, allocations: 0 / 488.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.207e-05/0.2993, allocations: 87.27 kB / 488.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2993, allocations: 0 / 488.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.2995, allocations: 7.938 kB / 488.8 MB, free: 11.17 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.72e-05/0.2996, allocations: 95.25 kB / 488.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.2997, allocations: 35.92 kB / 488.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2997, allocations: 3.938 kB / 488.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.2997, allocations: 0 / 488.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.3, allocations: 35.97 kB / 489 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.3003, allocations: 142.4 kB / 489.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.3005, allocations: 0.6847 MB / 489.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.3005, allocations: 11.44 kB / 489.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3005, allocations: 0 / 489.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of Templates: time 0.001564/0.3021, allocations: 0.6045 MB / 490.4 MB, free: 9.504 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches