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.001967/0.001966, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002724/0.002724, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.963/1.963, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.6676, allocations: 50.54 MB / 409.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.006149/0.6738, allocations: 1.445 MB / 411.4 MB, free: 16 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006389/0.6746, allocations: 87.86 kB / 411.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.6747, allocations: 0 / 411.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.321e-05/0.6749, allocations: 7.938 kB / 411.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.67e-05/0.675, allocations: 11.92 kB / 411.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.6755, allocations: 19.98 kB / 411.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.6756, allocations: 27.75 kB / 411.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.6758, allocations: 11.98 kB / 411.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.56e-05/0.6759, allocations: 11.98 kB / 411.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.676, allocations: 7.938 kB / 411.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.6761, allocations: 0 / 411.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.6761, allocations: 4 kB / 411.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.6761, allocations: 7.938 kB / 411.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.6762, allocations: 19.92 kB / 411.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.6764, allocations: 35.83 kB / 411.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.6765, allocations: 0 / 411.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.6765, allocations: 0 / 411.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.6765, allocations: 0 / 411.6 MB, free: 15.77 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.000875/0.6774, allocations: 339.3 kB / 411.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.874e-05/0.6775, allocations: 15.97 kB / 412 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/0.6776, allocations: 0.9375 kB / 412 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.6781, allocations: 184.3 kB / 412.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.6781, allocations: 8.312 kB / 412.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.6782, allocations: 384 / 412.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.6787, allocations: 99.88 kB / 412.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.6788, allocations: 192 / 412.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.6788, allocations: 7.938 kB / 412.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.6788, allocations: 4 kB / 412.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.679, allocations: 19.92 kB / 412.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.6793, allocations: 157.7 kB / 412.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.6796, allocations: 50.56 kB / 412.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.6797, allocations: 24.92 kB / 412.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.6798, allocations: 4 kB / 412.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.6798, allocations: 34.56 kB / 412.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.6798, allocations: 0 / 412.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004054/0.6803, allocations: 77.62 kB / 412.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.6804, allocations: 63.39 kB / 412.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.6805, allocations: 101.9 kB / 412.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.6806, allocations: 25.7 kB / 412.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.6807, allocations: 92.12 kB / 412.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.6807, allocations: 0 / 412.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.6808, allocations: 17.72 kB / 412.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.681, allocations: 310.8 kB / 413.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.681, allocations: 7.984 kB / 413.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.6811, allocations: 27.44 kB / 413.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.596e-05/0.6812, allocations: 39.38 kB / 413.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.6812, allocations: 0 / 413.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001583/0.6814, allocations: 57.56 kB / 413.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.6814, allocations: 4 kB / 413.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.6814, allocations: 8.062 kB / 413.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.6815, allocations: 4 kB / 413.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.6816, allocations: 4 kB / 413.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.6816, allocations: 4 kB / 413.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.6816, allocations: 1.266 kB / 413.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.6817, allocations: 0 / 413.4 MB, free: 13.75 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.0001494/0.6818, allocations: 125.7 kB / 413.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.682, allocations: 61.53 kB / 413.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.839e-05/0.6821, allocations: 15.84 kB / 413.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6821, allocations: 0 / 413.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6822, allocations: 256 / 413.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.6822, allocations: 3.984 kB / 413.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.6824, allocations: 157.7 kB / 413.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6824, allocations: 0 / 413.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.6825, allocations: 8 kB / 413.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.6825, allocations: 3.938 kB / 413.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.6825, allocations: 3.938 kB / 413.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.6826, allocations: 3.984 kB / 413.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6826, allocations: 4 kB / 413.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.6828, allocations: 85.06 kB / 413.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.6829, allocations: 88.94 kB / 413.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.683, allocations: 3.938 kB / 413.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/0.683, allocations: 4 kB / 413.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-06/0.683, allocations: 0 / 413.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.6831, allocations: 0 / 413.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.6832, allocations: 83.28 kB / 414 MB, free: 13 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6832, allocations: 4 kB / 414 MB, free: 13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.6835, allocations: 4 kB / 414 MB, free: 12.99 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.0002285/0.6838, allocations: 99.23 kB / 414.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.684, allocations: 27.92 kB / 414.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.684, allocations: 0 / 414.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/0.684, allocations: 0 / 414.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.6844, allocations: 21.14 kB / 414.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.685, allocations: 147.3 kB / 414.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.6855, allocations: 0.6768 MB / 415 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.6856, allocations: 11.44 kB / 415 MB, free: 11.95 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6856, allocations: 0 / 415 MB, free: 11.95 MB / 334.1 MB Notification: Performance of Templates: time 0.003369/0.689, allocations: 0.5741 MB / 415.6 MB, free: 11.38 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/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