Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 183.8 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.7 MB / 243.2 MB, free: 10.23 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008334/0.0008335, allocations: 93.14 kB / 294.4 MB, free: 9.754 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 8 kB / 354.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2297, allocations: 50.41 MB / 404.6 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001282/0.2311, allocations: 1.148 MB / 405.7 MB, free: 30.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002173/0.2313, allocations: 92.88 kB / 405.8 MB, free: 30.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.2314, allocations: 0 / 405.8 MB, free: 30.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.2314, allocations: 0 / 405.8 MB, free: 30.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.2314, allocations: 9 kB / 405.8 MB, free: 30.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.2317, allocations: 23.98 kB / 405.8 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.319e-05/0.2317, allocations: 23.92 kB / 405.9 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.037e-05/0.2318, allocations: 9.203 kB / 405.9 MB, free: 30.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.63e-05/0.2319, allocations: 11.92 kB / 405.9 MB, free: 30.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.2319, allocations: 18.55 kB / 405.9 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.2319, allocations: 0 / 405.9 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.2319, allocations: 4 kB / 405.9 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.232, allocations: 3.938 kB / 405.9 MB, free: 30.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.232, allocations: 41.62 kB / 406 MB, free: 30 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.4e-05/0.2321, allocations: 19.91 kB / 406 MB, free: 29.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2321, allocations: 0 / 406 MB, free: 29.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2321, allocations: 1.906 kB / 406 MB, free: 29.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.2321, allocations: 0 / 406 MB, free: 29.98 MB / 298.7 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.0003135/0.2324, allocations: 333.1 kB / 406.3 MB, free: 29.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2325, allocations: 13.22 kB / 406.3 MB, free: 29.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.2325, allocations: 0.9375 kB / 406.3 MB, free: 29.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2326, allocations: 188.1 kB / 406.5 MB, free: 29.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.2326, allocations: 5.656 kB / 406.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.2327, allocations: 384 / 406.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.2329, allocations: 121.8 kB / 406.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.233, allocations: 192 / 406.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.233, allocations: 7.938 kB / 406.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.233, allocations: 0 / 406.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.2331, allocations: 19.98 kB / 406.7 MB, free: 29.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.855e-05/0.2332, allocations: 153.7 kB / 406.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.2333, allocations: 66.48 kB / 406.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.2334, allocations: 24.92 kB / 406.9 MB, free: 28.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2334, allocations: 4 kB / 406.9 MB, free: 28.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.2334, allocations: 30.56 kB / 406.9 MB, free: 28.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2334, allocations: 4 kB / 406.9 MB, free: 28.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001941/0.2336, allocations: 77.52 kB / 407 MB, free: 28.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.2337, allocations: 67.27 kB / 407.1 MB, free: 28.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.192e-05/0.2337, allocations: 101.9 kB / 407.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.2337, allocations: 25.7 kB / 407.2 MB, free: 28.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.2338, allocations: 88.12 kB / 407.3 MB, free: 28.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-06/0.2338, allocations: 4 kB / 407.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.2338, allocations: 0 / 407.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.2338, allocations: 318.8 kB / 407.6 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-06/0.2339, allocations: 0 / 407.6 MB, free: 28.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/0.2339, allocations: 31.42 kB / 407.6 MB, free: 28.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.2339, allocations: 35.38 kB / 407.7 MB, free: 28.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2339, allocations: 3.938 kB / 407.7 MB, free: 28.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.728e-05/0.234, allocations: 57.62 kB / 407.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.234, allocations: 4 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.234, allocations: 3.938 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.234, allocations: 4 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.814e-05/0.2341, allocations: 8.062 kB / 407.7 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.2341, allocations: 8 kB / 407.7 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.2341, allocations: 0 / 407.7 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.2341, allocations: 0 / 407.7 MB, free: 27.96 MB / 298.7 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 5.043e-05/0.2342, allocations: 117.8 kB / 407.9 MB, free: 27.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.2343, allocations: 61.86 kB / 407.9 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.2343, allocations: 19.88 kB / 407.9 MB, free: 27.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2343, allocations: 4 kB / 407.9 MB, free: 27.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2343, allocations: 0 / 407.9 MB, free: 27.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2343, allocations: 0 / 407.9 MB, free: 27.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.216e-05/0.2344, allocations: 153.7 kB / 408.1 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2344, allocations: 256 / 408.1 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.2345, allocations: 15.94 kB / 408.1 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2345, allocations: 4 kB / 408.1 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2345, allocations: 3.938 kB / 408.1 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2345, allocations: 4 kB / 408.1 MB, free: 27.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2345, allocations: 0 / 408.1 MB, free: 27.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.2346, allocations: 89.11 kB / 408.2 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.2347, allocations: 84.95 kB / 408.3 MB, free: 27.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.2347, allocations: 3.938 kB / 408.3 MB, free: 27.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.612e-05/0.2347, allocations: 7.984 kB / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-06/0.2347, allocations: 3.938 kB / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.2347, allocations: 0 / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.315e-05/0.2348, allocations: 87.28 kB / 408.4 MB, free: 27.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2348, allocations: 0 / 408.4 MB, free: 27.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.2349, allocations: 4 kB / 408.4 MB, free: 27.2 MB / 298.7 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 6.929e-05/0.235, allocations: 107.2 kB / 408.5 MB, free: 27.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.718e-05/0.2351, allocations: 23.98 kB / 408.5 MB, free: 27.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2351, allocations: 0 / 408.5 MB, free: 27.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.2351, allocations: 256 / 408.5 MB, free: 27.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.2353, allocations: 33.33 kB / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/0.2355, allocations: 121 kB / 408.7 MB, free: 26.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.14e-05/0.2356, allocations: 0.677 MB / 409.4 MB, free: 26.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.157e-05/0.2357, allocations: 8 kB / 409.4 MB, free: 26.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.2357, allocations: 11.44 kB / 409.4 MB, free: 26.16 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2357, allocations: 0 / 409.4 MB, free: 26.16 MB / 298.7 MB Notification: Performance of Templates: time 0.00176/0.2375, allocations: 297.9 kB / 409.7 MB, free: 25.88 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches