Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001064/0.001064, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2315, allocations: 49.44 MB / 401.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002464/0.234, allocations: 1.432 MB / 402.8 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.2343, allocations: 103.6 kB / 402.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.2343, allocations: 0 / 402.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.2344, allocations: 3.938 kB / 402.9 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.83e-05/0.2344, allocations: 4 kB / 402.9 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.2347, allocations: 23.91 kB / 403 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.2347, allocations: 27.92 kB / 403 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.2348, allocations: 11.98 kB / 403 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.847e-05/0.2349, allocations: 15.92 kB / 403 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.6e-05/0.2349, allocations: 7.938 kB / 403 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2349, allocations: 0 / 403 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.2349, allocations: 4 kB / 403 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.235, allocations: 7.984 kB / 403 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.235, allocations: 15.88 kB / 403 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.953e-05/0.2351, allocations: 31.91 kB / 403.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2351, allocations: 0 / 403.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2351, allocations: 0 / 403.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2351, allocations: 0 / 403.1 MB, free: 7.352 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.0003564/0.2355, allocations: 340.7 kB / 403.4 MB, free: 6.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2355, allocations: 11.89 kB / 403.4 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.2355, allocations: 4.938 kB / 403.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.2357, allocations: 188.1 kB / 403.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.2357, allocations: 12.31 kB / 403.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.2358, allocations: 4.375 kB / 403.6 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.236, allocations: 103.9 kB / 403.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.236, allocations: 192 / 403.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.2361, allocations: 3.938 kB / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2361, allocations: 0 / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/0.2361, allocations: 23.98 kB / 403.8 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.2363, allocations: 157.7 kB / 403.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.2364, allocations: 62.47 kB / 404 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.2365, allocations: 16.89 kB / 404 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2365, allocations: 8.031 kB / 404 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2365, allocations: 38.5 kB / 404 MB, free: 6.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2366, allocations: 0 / 404 MB, free: 6.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002025/0.2368, allocations: 73.52 kB / 404.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.2368, allocations: 63.34 kB / 404.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/0.2369, allocations: 101.8 kB / 404.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2369, allocations: 29.7 kB / 404.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.2369, allocations: 80.14 kB / 404.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-06/0.237, allocations: 8 kB / 404.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.237, allocations: 13.72 kB / 404.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2371, allocations: 318.8 kB / 404.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.2371, allocations: 4 kB / 404.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/0.2372, allocations: 23.44 kB / 404.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.906e-05/0.2372, allocations: 35.38 kB / 404.8 MB, free: 5.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2372, allocations: 4 kB / 404.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.162e-05/0.2373, allocations: 53.62 kB / 404.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2373, allocations: 4 kB / 404.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2373, allocations: 3.938 kB / 404.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2373, allocations: 8.125 kB / 404.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.319e-05/0.2374, allocations: 15.92 kB / 404.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2374, allocations: 0 / 404.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.2374, allocations: 4 kB / 404.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.2374, allocations: 0 / 404.9 MB, free: 5.316 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: 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 7.331e-05/0.2375, allocations: 109.8 kB / 405 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2376, allocations: 57.59 kB / 405 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.2377, allocations: 15.83 kB / 405 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2377, allocations: 4 kB / 405 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2377, allocations: 0 / 405 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2377, allocations: 0 / 405 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.296e-05/0.2378, allocations: 153.7 kB / 405.2 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.2378, allocations: 256 / 405.2 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.2378, allocations: 19.92 kB / 405.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2378, allocations: 3.938 kB / 405.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.2379, allocations: 7.938 kB / 405.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2379, allocations: 0 / 405.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2379, allocations: 0 / 405.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.238, allocations: 85.11 kB / 405.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.238, allocations: 92.89 kB / 405.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.2381, allocations: 3.938 kB / 405.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.2381, allocations: 0 / 405.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-06/0.2381, allocations: 4.375 kB / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.2381, allocations: 0 / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.354e-05/0.2382, allocations: 87.27 kB / 405.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2382, allocations: 0 / 405.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001916/0.2384, allocations: 8 kB / 405.5 MB, free: 4.566 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: 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.0001005/0.2385, allocations: 103.1 kB / 405.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.2386, allocations: 27.97 kB / 405.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2386, allocations: 0 / 405.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-07/0.2386, allocations: 0 / 405.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.2388, allocations: 23.92 kB / 405.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.2391, allocations: 141.6 kB / 405.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2393, allocations: 0.6844 MB / 406.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.2393, allocations: 7.438 kB / 406.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2393, allocations: 0 / 406.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of Templates: time 0.001562/0.2409, allocations: 0.555 MB / 407 MB, free: 2.961 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches