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.001301/0.001301, allocations: 117.7 kB / 18.46 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.001339/0.001339, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3098, allocations: 50.54 MB / 409.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002898/0.3127, allocations: 1.433 MB / 411.4 MB, free: 112 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003246/0.3131, allocations: 103.7 kB / 411.5 MB, free: 8 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.3132, allocations: 0 / 411.5 MB, free: 8 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.3132, allocations: 3.938 kB / 411.5 MB, free: 4 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.3133, allocations: 3.984 kB / 411.5 MB, free: 0 / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.3136, allocations: 19.97 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.806e-05/0.3137, allocations: 27.88 kB / 411.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3138, allocations: 11.98 kB / 411.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.3138, allocations: 11.94 kB / 411.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.3139, allocations: 11.92 kB / 411.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3139, allocations: 0 / 411.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.3139, allocations: 8 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.314, allocations: 7.938 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.314, allocations: 11.94 kB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.3141, allocations: 27.89 kB / 411.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3141, allocations: 4 kB / 411.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3141, allocations: 0 / 411.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3142, allocations: 0 / 411.6 MB, free: 15.86 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.0004801/0.3146, allocations: 343.3 kB / 411.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3147, allocations: 8.031 kB / 411.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.3147, allocations: 8.938 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.315, allocations: 176.2 kB / 412.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.315, allocations: 4.375 kB / 412.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.315, allocations: 4.375 kB / 412.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.3154, allocations: 103.9 kB / 412.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3154, allocations: 4.188 kB / 412.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3154, allocations: 3.938 kB / 412.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3154, allocations: 3.938 kB / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.118e-05/0.3155, allocations: 23.97 kB / 412.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.3157, allocations: 153.7 kB / 412.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.3159, allocations: 58.52 kB / 412.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.3159, allocations: 24.89 kB / 412.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.316, allocations: 7.984 kB / 412.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.316, allocations: 30.56 kB / 412.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.316, allocations: 0 / 412.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002454/0.3163, allocations: 73.52 kB / 412.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3163, allocations: 59.34 kB / 412.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.3164, allocations: 109.8 kB / 412.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3164, allocations: 25.7 kB / 412.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.3165, allocations: 84.14 kB / 412.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.328e-06/0.3165, allocations: 4 kB / 412.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.3166, allocations: 17.66 kB / 412.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3167, allocations: 318.8 kB / 413.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.3167, allocations: 4 kB / 413.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.3168, allocations: 31.44 kB / 413.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.3168, allocations: 31.36 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3168, allocations: 4 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.165e-05/0.3169, allocations: 53.7 kB / 413.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3169, allocations: 10.97 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.317, allocations: 3.938 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.317, allocations: 4 kB / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.317, allocations: 12.17 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3171, allocations: 3.984 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.3171, allocations: 9.266 kB / 413.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.3171, allocations: 0 / 413.4 MB, free: 13.83 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 9.299e-05/0.3172, allocations: 117.8 kB / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.3173, allocations: 61.64 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.3174, allocations: 15.84 kB / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3174, allocations: 0 / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3174, allocations: 0 / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3174, allocations: 336 / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.3175, allocations: 149.7 kB / 413.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3175, allocations: 0 / 413.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.3176, allocations: 23.86 kB / 413.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3176, allocations: 0 / 413.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.3176, allocations: 3.938 kB / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3176, allocations: 4 kB / 413.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3176, allocations: 3.984 kB / 413.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.3177, allocations: 81.11 kB / 413.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.3178, allocations: 88.95 kB / 413.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.3178, allocations: 3.938 kB / 413.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.3179, allocations: 0 / 413.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-06/0.3179, allocations: 0 / 413.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3179, allocations: 8 kB / 413.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.556e-05/0.3179, allocations: 87.27 kB / 414 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3179, allocations: 0 / 414 MB, free: 13.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.3181, allocations: 4 kB / 414 MB, free: 13.07 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.0001351/0.3183, allocations: 99.19 kB / 414.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.3184, allocations: 23.98 kB / 414.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3184, allocations: 256 / 414.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.3184, allocations: 4 kB / 414.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3187, allocations: 26.16 kB / 414.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.319, allocations: 139.3 kB / 414.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3193, allocations: 0.6807 MB / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.3194, allocations: 7.438 kB / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3194, allocations: 0 / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of Templates: time 0.002041/0.3214, allocations: 0.5623 MB / 415.6 MB, free: 11.47 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