Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 94.48 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001816/0.001816, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001819/0.1374, allocations: 1.145 MB / 359.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003164/0.1378, allocations: 99.7 kB / 359.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.1379, allocations: 3.938 kB / 359.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.1379, allocations: 3.984 kB / 359.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.138, allocations: 0 / 359.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.1383, allocations: 27.92 kB / 359.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.222e-05/0.1384, allocations: 23.92 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1385, allocations: 8 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.1385, allocations: 15.91 kB / 360 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.1386, allocations: 7.938 kB / 360 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1386, allocations: 0 / 360 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.1386, allocations: 4 kB / 360 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.1386, allocations: 7.938 kB / 360 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.1387, allocations: 29.7 kB / 360 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.497e-05/0.1388, allocations: 11.97 kB / 360 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1388, allocations: 0 / 360 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1388, allocations: 0 / 360 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1388, allocations: 0 / 360 MB, free: 12.04 MB / 302.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.000436/0.1392, allocations: 343.5 kB / 360.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.1393, allocations: 8.031 kB / 360.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.1393, allocations: 7.906 kB / 360.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1395, allocations: 175 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1396, allocations: 0 / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1396, allocations: 4 kB / 360.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.1399, allocations: 123.2 kB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1399, allocations: 0 / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.14, allocations: 3.984 kB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.14, allocations: 0 / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.1401, allocations: 23.98 kB / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.1402, allocations: 157.7 kB / 360.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1404, allocations: 62.48 kB / 360.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.218e-05/0.1405, allocations: 24.92 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1405, allocations: 4 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1405, allocations: 30.56 kB / 361 MB, free: 10.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1405, allocations: 0 / 361 MB, free: 10.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002325/0.1408, allocations: 81.53 kB / 361 MB, free: 10.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1408, allocations: 55.34 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.1409, allocations: 113.8 kB / 361.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1409, allocations: 25.7 kB / 361.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.141, allocations: 88.14 kB / 361.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/0.141, allocations: 0 / 361.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.141, allocations: 0 / 361.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1411, allocations: 318.8 kB / 361.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.1412, allocations: 4 kB / 361.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.1412, allocations: 27.44 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.917e-05/0.1412, allocations: 8 kB / 361.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1412, allocations: 0 / 361.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.771e-05/0.1413, allocations: 57.56 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1413, allocations: 4 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1413, allocations: 0 / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1414, allocations: 8.078 kB / 361.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.1414, allocations: 8 kB / 361.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1414, allocations: 7.984 kB / 361.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.1415, allocations: 0 / 361.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1415, allocations: 8.188 kB / 361.8 MB, free: 10.05 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.785e-05/0.1416, allocations: 117.8 kB / 361.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.1417, allocations: 69.53 kB / 361.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.1417, allocations: 3.906 kB / 361.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1417, allocations: 7.984 kB / 362 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1418, allocations: 3.953 kB / 362 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1418, allocations: 336 / 362 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.393e-05/0.1419, allocations: 153.7 kB / 362.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1419, allocations: 0 / 362.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.1419, allocations: 8 kB / 362.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1419, allocations: 3.984 kB / 362.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.142, allocations: 7.984 kB / 362.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.142, allocations: 3.984 kB / 362.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.142, allocations: 0 / 362.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.1421, allocations: 89.08 kB / 362.2 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.1422, allocations: 85 kB / 362.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.1422, allocations: 3.938 kB / 362.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.1422, allocations: 8 kB / 362.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-06/0.1422, allocations: 0 / 362.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.1422, allocations: 7.938 kB / 362.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.1423, allocations: 83.27 kB / 362.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1423, allocations: 4 kB / 362.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001866/0.1425, allocations: 7.953 kB / 362.4 MB, free: 9.289 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000113/0.1426, allocations: 95.25 kB / 362.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.1427, allocations: 27.92 kB / 362.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1427, allocations: 4.25 kB / 362.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.1427, allocations: 4 kB / 362.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.143, allocations: 26.39 kB / 362.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.1432, allocations: 112.7 kB / 362.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.1435, allocations: 0.6809 MB / 363.4 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.354e-05/0.1435, allocations: 4 kB / 363.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.1435, allocations: 7.438 kB / 363.4 MB, free: 8.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1436, allocations: 0 / 363.4 MB, free: 8.27 MB / 302.1 MB Notification: Performance of Templates: time 0.002489/0.1461, allocations: 295.9 kB / 363.7 MB, free: 7.98 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches