Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.002172/0.002172, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.563/1.563, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3133, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002848/0.3162, allocations: 1.457 MB / 402.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002441/0.3165, allocations: 31.91 kB / 402.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.3166, allocations: 3.938 kB / 402.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.3166, allocations: 0 / 402.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.3167, allocations: 11.88 kB / 402.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.3169, allocations: 23.95 kB / 402.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.243e-05/0.317, allocations: 35.92 kB / 403 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3172, allocations: 8 kB / 403 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.3172, allocations: 27.91 kB / 403 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.3173, allocations: 15.92 kB / 403 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.3173, allocations: 4 kB / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.3173, allocations: 4 kB / 403 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.3174, allocations: 15.86 kB / 403.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.3174, allocations: 15.94 kB / 403.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.3175, allocations: 43.8 kB / 403.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3175, allocations: 0 / 403.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3176, allocations: 0 / 403.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3176, allocations: 0 / 403.1 MB, free: 7.176 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.0005827/0.3182, allocations: 363.2 kB / 403.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3182, allocations: 12.03 kB / 403.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.3182, allocations: 4.844 kB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3185, allocations: 172.4 kB / 403.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.3185, allocations: 4.375 kB / 403.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.3185, allocations: 8.359 kB / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.3191, allocations: 159.7 kB / 403.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3192, allocations: 192 / 403.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3192, allocations: 7.938 kB / 403.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3192, allocations: 0 / 403.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.3195, allocations: 47.94 kB / 403.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.3196, allocations: 157.7 kB / 404 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.32, allocations: 86.45 kB / 404.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.3202, allocations: 40.91 kB / 404.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.3202, allocations: 0 / 404.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.3202, allocations: 42.55 kB / 404.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3202, allocations: 0 / 404.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005617/0.3208, allocations: 117.5 kB / 404.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.3209, allocations: 59.28 kB / 404.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.765e-05/0.321, allocations: 109.8 kB / 404.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.321, allocations: 25.7 kB / 404.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.3211, allocations: 88.14 kB / 404.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.3211, allocations: 0 / 404.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.3211, allocations: 21.7 kB / 404.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3213, allocations: 314.8 kB / 404.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.3213, allocations: 4 kB / 404.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.3213, allocations: 31.42 kB / 404.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.783e-05/0.3214, allocations: 39.38 kB / 405 MB, free: 5.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3214, allocations: 3.938 kB / 405 MB, free: 5.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.347e-05/0.3215, allocations: 61.53 kB / 405 MB, free: 4.984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3215, allocations: 4 kB / 405.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.3215, allocations: 8.062 kB / 405.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3215, allocations: 4 kB / 405.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.369e-05/0.3216, allocations: 15.94 kB / 405.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3216, allocations: 0 / 405.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.3216, allocations: 4 kB / 405.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.3217, allocations: 0 / 405.1 MB, free: 4.949 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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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 8.627e-05/0.3217, allocations: 117.8 kB / 405.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.3221, allocations: 81.64 kB / 405.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.3221, allocations: 7.844 kB / 405.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3221, allocations: 8 kB / 405.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3221, allocations: 0 / 405.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3221, allocations: 240 / 405.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.3222, allocations: 161.7 kB / 405.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3223, allocations: 3.984 kB / 405.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.3224, allocations: 19.91 kB / 405.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3224, allocations: 4 kB / 405.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3224, allocations: 3.938 kB / 405.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3224, allocations: 0 / 405.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3224, allocations: 4.25 kB / 405.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.3228, allocations: 121 kB / 405.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.3228, allocations: 78.38 kB / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3228, allocations: 3.938 kB / 405.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.3229, allocations: 16.11 kB / 405.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-06/0.3229, allocations: 0 / 405.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.323, allocations: 0 / 405.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.181e-05/0.323, allocations: 95.23 kB / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.323, allocations: 0 / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001968/0.3232, allocations: 8 kB / 405.8 MB, free: 4.121 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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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.0001253/0.3233, allocations: 107.9 kB / 405.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.3236, allocations: 43.95 kB / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3236, allocations: 0 / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.3236, allocations: 0 / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.324, allocations: 47.03 kB / 406 MB, free: 3.922 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.3244, allocations: 151.5 kB / 406.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3247, allocations: 0.6883 MB / 406.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.3248, allocations: 15.42 kB / 406.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3248, allocations: 3.938 kB / 406.9 MB, free: 3.008 MB / 318.1 MB Notification: Performance of Templates: time 0.002485/0.3273, allocations: 0.6826 MB / 407.5 MB, free: 2.324 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches