Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 115.6 kB / 17.74 MB, free: 5.34 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.001322/0.001322, allocations: 184.1 kB / 18.67 MB, free: 4.418 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.577/1.577, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2876, allocations: 49.43 MB / 401.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003121/0.2908, allocations: 1.453 MB / 402.9 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001994/0.291, allocations: 27.91 kB / 402.9 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.681e-05/0.2911, allocations: 11.94 kB / 402.9 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.478e-05/0.2911, allocations: 0 / 402.9 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.572e-05/0.2912, allocations: 3.938 kB / 402.9 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.2915, allocations: 27.09 kB / 402.9 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2916, allocations: 31.92 kB / 403 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2917, allocations: 11.97 kB / 403 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.2918, allocations: 11.94 kB / 403 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.2918, allocations: 19.91 kB / 403 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.2919, allocations: 0 / 403 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.2919, allocations: 8 kB / 403 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.2919, allocations: 4 kB / 403 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.292, allocations: 15.88 kB / 403 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.2921, allocations: 27.89 kB / 403.1 MB, free: 7.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2921, allocations: 0 / 403.1 MB, free: 7.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2921, allocations: 0 / 403.1 MB, free: 7.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.2921, allocations: 0 / 403.1 MB, free: 7.387 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.0005041/0.2926, allocations: 359.3 kB / 403.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2927, allocations: 11.97 kB / 403.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.2927, allocations: 4.938 kB / 403.4 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.2929, allocations: 176.3 kB / 403.6 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.293, allocations: 8.375 kB / 403.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-06/0.293, allocations: 384 / 403.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.2934, allocations: 119.8 kB / 403.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2934, allocations: 4.125 kB / 403.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2934, allocations: 3.938 kB / 403.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2934, allocations: 4 kB / 403.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.2935, allocations: 27.92 kB / 403.8 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.2937, allocations: 157.7 kB / 403.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.2939, allocations: 54.55 kB / 404 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.294, allocations: 24.92 kB / 404 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.294, allocations: 0 / 404 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.294, allocations: 34.56 kB / 404 MB, free: 6.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.294, allocations: 4 kB / 404 MB, free: 6.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003046/0.2943, allocations: 85.48 kB / 404.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.2944, allocations: 59.41 kB / 404.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.2945, allocations: 105.8 kB / 404.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2945, allocations: 25.7 kB / 404.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.2946, allocations: 80.14 kB / 404.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.2946, allocations: 7.984 kB / 404.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.2946, allocations: 17.72 kB / 404.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2948, allocations: 318.8 kB / 404.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.2948, allocations: 0 / 404.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.2948, allocations: 35.42 kB / 404.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.494e-05/0.2949, allocations: 39.38 kB / 404.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2949, allocations: 0 / 404.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.477e-05/0.295, allocations: 61.56 kB / 404.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.295, allocations: 8 kB / 404.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2951, allocations: 3.938 kB / 404.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2951, allocations: 0 / 404.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.2952, allocations: 8 kB / 404.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2952, allocations: 8.109 kB / 404.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.2952, allocations: 7.953 kB / 404.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.2952, allocations: 384 / 404.9 MB, free: 5.305 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.step.counter,step.counter) * 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 9.642e-05/0.2953, allocations: 125.7 kB / 405 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.2955, allocations: 73.78 kB / 405.1 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.2955, allocations: 11.84 kB / 405.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2955, allocations: 0 / 405.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2956, allocations: 0 / 405.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2956, allocations: 0 / 405.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.2957, allocations: 161.6 kB / 405.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2957, allocations: 4 kB / 405.3 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.2958, allocations: 8 kB / 405.3 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2958, allocations: 4 kB / 405.3 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2958, allocations: 3.938 kB / 405.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2958, allocations: 0 / 405.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2958, allocations: 3.984 kB / 405.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.296, allocations: 93 kB / 405.4 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.2961, allocations: 77.11 kB / 405.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.2961, allocations: 11.94 kB / 405.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.259e-05/0.2961, allocations: 3.984 kB / 405.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-06/0.2961, allocations: 4 kB / 405.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.2962, allocations: 0 / 405.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.719e-05/0.2962, allocations: 83.28 kB / 405.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2962, allocations: 0 / 405.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.2964, allocations: 4 kB / 405.5 MB, free: 4.535 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 (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.0001472/0.2966, allocations: 108 kB / 405.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.2967, allocations: 35.92 kB / 405.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2967, allocations: 0 / 405.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-07/0.2967, allocations: 0 / 405.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.297, allocations: 31.94 kB / 405.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.2974, allocations: 117.6 kB / 405.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2977, allocations: 0.6883 MB / 406.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.752e-05/0.2978, allocations: 4.25 kB / 406.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.2978, allocations: 11.44 kB / 406.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2978, allocations: 0 / 406.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of Templates: time 0.002876/0.3007, allocations: 428 kB / 407 MB, free: 3.07 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches