Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 113.4 kB / 17.06 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 195 kB / 17.99 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 55.91 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4056, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002867/0.4085, allocations: 1.422 MB / 402.1 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.4088, allocations: 31.84 kB / 402.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.4088, allocations: 4 kB / 402.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.4089, allocations: 0 / 402.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.4089, allocations: 7.922 kB / 402.2 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.4092, allocations: 23.97 kB / 402.2 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.4093, allocations: 23.94 kB / 402.2 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.4094, allocations: 15.98 kB / 402.2 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.094e-05/0.4095, allocations: 7.938 kB / 402.2 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.4095, allocations: 15.92 kB / 402.3 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.4096, allocations: 0 / 402.3 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.4096, allocations: 4 kB / 402.3 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.4096, allocations: 11.92 kB / 402.3 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.4096, allocations: 19.86 kB / 402.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.4098, allocations: 31.84 kB / 402.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4098, allocations: 0 / 402.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.4098, allocations: 4 kB / 402.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.4098, allocations: 0 / 402.3 MB, free: 7.246 MB / 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.0005086/0.4103, allocations: 344.7 kB / 402.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4104, allocations: 8.031 kB / 402.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.4104, allocations: 4.938 kB / 402.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.4107, allocations: 184.1 kB / 402.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.4107, allocations: 384 / 402.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.4107, allocations: 4.375 kB / 402.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.4111, allocations: 123.8 kB / 403 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4111, allocations: 192 / 403 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4111, allocations: 3.938 kB / 403 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.4112, allocations: 3.938 kB / 403 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.4113, allocations: 31.91 kB / 403 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.4115, allocations: 153.7 kB / 403.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.4117, allocations: 58.58 kB / 403.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.606e-05/0.4118, allocations: 24.89 kB / 403.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.4118, allocations: 0 / 403.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.4118, allocations: 38.55 kB / 403.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4118, allocations: 0 / 403.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003457/0.4122, allocations: 85.53 kB / 403.4 MB, free: 6.027 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.4123, allocations: 59.31 kB / 403.4 MB, free: 5.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.4124, allocations: 109.8 kB / 403.5 MB, free: 5.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.4124, allocations: 25.7 kB / 403.6 MB, free: 5.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.4124, allocations: 84.14 kB / 403.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.4125, allocations: 0 / 403.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.4125, allocations: 17.72 kB / 403.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4126, allocations: 318.8 kB / 404 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.4127, allocations: 4 kB / 404 MB, free: 5.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.168e-05/0.4127, allocations: 31.44 kB / 404 MB, free: 5.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.4127, allocations: 39.38 kB / 404.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4128, allocations: 0 / 404.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.628e-05/0.4129, allocations: 61.81 kB / 404.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4129, allocations: 10.66 kB / 404.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4129, allocations: 4.312 kB / 404.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4129, allocations: 3.984 kB / 404.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.413, allocations: 11.98 kB / 404.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.413, allocations: 4 kB / 404.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.413, allocations: 11.84 kB / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.413, allocations: 0 / 404.2 MB, free: 5.172 MB / 318.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.8e-05/0.4131, allocations: 113.8 kB / 404.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.4133, allocations: 73.67 kB / 404.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.4134, allocations: 11.78 kB / 404.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.4134, allocations: 0 / 404.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4134, allocations: 3.984 kB / 404.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4134, allocations: 4 kB / 404.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.4135, allocations: 153.7 kB / 404.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4135, allocations: 0 / 404.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.518e-05/0.4136, allocations: 11.98 kB / 404.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4136, allocations: 0 / 404.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.4136, allocations: 3.938 kB / 404.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4136, allocations: 7.984 kB / 404.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4136, allocations: 0 / 404.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.4138, allocations: 96.95 kB / 404.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.4139, allocations: 81.09 kB / 404.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.4139, allocations: 7.938 kB / 404.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.416e-05/0.414, allocations: 4 kB / 404.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-06/0.414, allocations: 0 / 404.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.414, allocations: 0 / 404.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.095e-05/0.414, allocations: 91.27 kB / 404.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.414, allocations: 0 / 404.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001953/0.4142, allocations: 4 kB / 404.8 MB, free: 4.406 MB / 318.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.0001369/0.4144, allocations: 99.19 kB / 404.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.4146, allocations: 31.92 kB / 404.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4146, allocations: 0 / 404.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.4146, allocations: 0 / 404.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.4149, allocations: 36.17 kB / 405 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.4153, allocations: 117.6 kB / 405.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.4156, allocations: 0.6844 MB / 405.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.985e-05/0.4156, allocations: 0 / 405.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.4156, allocations: 11.44 kB / 405.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4156, allocations: 0 / 405.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of Templates: time 0.00274/0.4184, allocations: 440.7 kB / 406.2 MB, free: 2.941 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches