Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001215, allocations: 201.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008236/0.0008235, allocations: 93.23 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002883, allocations: 8 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2576, allocations: 51.4 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001479/0.2592, allocations: 1.152 MB / 413.2 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002853/0.2595, allocations: 88.97 kB / 413.3 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.2595, allocations: 0 / 413.3 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.855e-05/0.2596, allocations: 7.984 kB / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.859e-05/0.2596, allocations: 4.75 kB / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.2599, allocations: 19.98 kB / 413.3 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.533e-05/0.26, allocations: 24.45 kB / 413.3 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2601, allocations: 12.64 kB / 413.4 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.891e-05/0.2601, allocations: 4 kB / 413.4 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.2602, allocations: 21.44 kB / 413.4 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2602, allocations: 0 / 413.4 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.2602, allocations: 0 / 413.4 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.2603, allocations: 7.938 kB / 413.4 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.2603, allocations: 36.08 kB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.346e-05/0.2604, allocations: 27.89 kB / 413.5 MB, free: 24.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2604, allocations: 0 / 413.5 MB, free: 24.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2604, allocations: 0 / 413.5 MB, free: 24.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.2604, allocations: 0 / 413.5 MB, free: 24.51 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.0003444/0.2608, allocations: 340 kB / 413.8 MB, free: 24.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2608, allocations: 8.031 kB / 413.8 MB, free: 24.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.2609, allocations: 4.938 kB / 413.8 MB, free: 24.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.261, allocations: 192.1 kB / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.261, allocations: 384 / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.2611, allocations: 4.375 kB / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.2614, allocations: 119.9 kB / 414.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2614, allocations: 192 / 414.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2614, allocations: 3.938 kB / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2615, allocations: 0 / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.2615, allocations: 27.98 kB / 414.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.2617, allocations: 153.7 kB / 414.3 MB, free: 23.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.2618, allocations: 66.42 kB / 414.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.2619, allocations: 28.92 kB / 414.4 MB, free: 23.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.2619, allocations: 0 / 414.4 MB, free: 23.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2619, allocations: 34.56 kB / 414.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2619, allocations: 0 / 414.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001987/0.2621, allocations: 77.52 kB / 414.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2622, allocations: 55.41 kB / 414.5 MB, free: 23.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/0.2623, allocations: 105.8 kB / 414.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.2623, allocations: 29.64 kB / 414.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.2623, allocations: 88.14 kB / 414.8 MB, free: 22.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.48e-06/0.2623, allocations: 0 / 414.8 MB, free: 22.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.2623, allocations: 0 / 414.8 MB, free: 22.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.2624, allocations: 318.8 kB / 415.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-06/0.2624, allocations: 4 kB / 415.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.2624, allocations: 31.44 kB / 415.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.2625, allocations: 31.36 kB / 415.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2625, allocations: 4 kB / 415.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.266e-05/0.2626, allocations: 53.64 kB / 415.2 MB, free: 22.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2626, allocations: 8 kB / 415.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2626, allocations: 7.922 kB / 415.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2626, allocations: 0 / 415.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.2627, allocations: 8 kB / 415.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2627, allocations: 3.938 kB / 415.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.2627, allocations: 4.281 kB / 415.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.2627, allocations: 0 / 415.2 MB, free: 22.49 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.776e-05/0.2628, allocations: 121.9 kB / 415.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-05/0.2629, allocations: 65.56 kB / 415.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.2629, allocations: 11.84 kB / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.2629, allocations: 4 kB / 415.4 MB, free: 22.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2629, allocations: 0 / 415.4 MB, free: 22.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.263, allocations: 3.938 kB / 415.4 MB, free: 22.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.722e-05/0.263, allocations: 149.7 kB / 415.6 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.263, allocations: 0 / 415.6 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.2631, allocations: 19.98 kB / 415.6 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2631, allocations: 0 / 415.6 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.2631, allocations: 4.188 kB / 415.6 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2631, allocations: 11.88 kB / 415.6 MB, free: 22.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2631, allocations: 0 / 415.6 MB, free: 22.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.2632, allocations: 85.11 kB / 415.7 MB, free: 21.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.2633, allocations: 88.95 kB / 415.8 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.2633, allocations: 7.938 kB / 415.8 MB, free: 21.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.375e-05/0.2633, allocations: 4 kB / 415.8 MB, free: 21.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.2633, allocations: 0 / 415.8 MB, free: 21.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.2633, allocations: 0 / 415.8 MB, free: 21.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.91e-05/0.2634, allocations: 87.27 kB / 415.9 MB, free: 21.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2634, allocations: 0 / 415.9 MB, free: 21.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.2636, allocations: 4 kB / 415.9 MB, free: 21.72 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 0.000105/0.2637, allocations: 103.2 kB / 416 MB, free: 21.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.2638, allocations: 31.92 kB / 416 MB, free: 21.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2638, allocations: 0 / 416 MB, free: 21.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.2638, allocations: 0 / 416 MB, free: 21.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.2641, allocations: 23.98 kB / 416 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.2643, allocations: 128.9 kB / 416.2 MB, free: 21.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.2645, allocations: 0.6809 MB / 416.8 MB, free: 20.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.138e-05/0.2645, allocations: 0 / 416.8 MB, free: 20.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.2645, allocations: 11.44 kB / 416.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2645, allocations: 0 / 416.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of Templates: time 0.00207/0.2666, allocations: 297.2 kB / 417.1 MB, free: 20.39 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches