Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002159/0.002159, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002914/0.002914, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.722/1.722, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 64.17 kB / 307 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1308, allocations: 50.54 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003539/0.1344, allocations: 1.421 MB / 359 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002669/0.1347, allocations: 31.91 kB / 359 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1348, allocations: 0 / 359 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.148e-05/0.1349, allocations: 3.938 kB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.135, allocations: 3.938 kB / 359 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.1353, allocations: 27.97 kB / 359 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1354, allocations: 31.92 kB / 359.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1356, allocations: 7.984 kB / 359.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.1357, allocations: 15.92 kB / 359.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.1357, allocations: 11.94 kB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.1358, allocations: 4 kB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.1358, allocations: 0 / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.1359, allocations: 15.97 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.1359, allocations: 11.88 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1361, allocations: 23.91 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.1361, allocations: 7.984 kB / 359.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1361, allocations: 0 / 359.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1361, allocations: 0 / 359.2 MB, free: 12.45 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.0007274/0.1368, allocations: 343.7 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.1369, allocations: 12.02 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.137, allocations: 8.844 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.1373, allocations: 180.3 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1373, allocations: 384 / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.1373, allocations: 4.375 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.1377, allocations: 119.9 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1377, allocations: 192 / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1377, allocations: 3.938 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1378, allocations: 0 / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1379, allocations: 31.91 kB / 359.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.1381, allocations: 161.6 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.1383, allocations: 62.48 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.941e-05/0.1384, allocations: 24.92 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1384, allocations: 3.938 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1385, allocations: 34.56 kB / 360.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1385, allocations: 0 / 360.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003474/0.1388, allocations: 81.59 kB / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.1389, allocations: 63.34 kB / 360.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1391, allocations: 109.8 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1391, allocations: 25.7 kB / 360.4 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.1392, allocations: 84.14 kB / 360.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.1392, allocations: 3.906 kB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.1392, allocations: 17.72 kB / 360.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1394, allocations: 318.8 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.1395, allocations: 0 / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.1395, allocations: 35.44 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.202e-05/0.1396, allocations: 39.36 kB / 360.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1396, allocations: 0 / 360.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.625e-05/0.1397, allocations: 61.62 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1397, allocations: 8 kB / 361 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1397, allocations: 3.938 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1397, allocations: 0 / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.1398, allocations: 11.94 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1398, allocations: 4 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.1399, allocations: 0 / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1399, allocations: 4 kB / 361 MB, free: 10.38 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * 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.082e-05/0.14, allocations: 114 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.1401, allocations: 69.75 kB / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.1402, allocations: 15.83 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1402, allocations: 3.938 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1402, allocations: 0 / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1402, allocations: 4 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.1404, allocations: 153.7 kB / 361.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.1404, allocations: 0 / 361.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.1405, allocations: 15.92 kB / 361.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1405, allocations: 0 / 361.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1405, allocations: 3.938 kB / 361.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1405, allocations: 4 kB / 361.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1405, allocations: 0 / 361.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1407, allocations: 91.16 kB / 361.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.1408, allocations: 85.02 kB / 361.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.1408, allocations: 11.88 kB / 361.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.481e-05/0.1408, allocations: 8 kB / 361.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-06/0.1408, allocations: 0 / 361.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1409, allocations: 3.984 kB / 361.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.1409, allocations: 83.28 kB / 361.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1409, allocations: 0 / 361.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1412, allocations: 8 kB / 361.6 MB, free: 9.605 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: 4 (assignClock1.u,assignClock1.y,step.y,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.0001385/0.1413, allocations: 101.9 kB / 361.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.1415, allocations: 31.97 kB / 361.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1415, allocations: 0 / 361.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-07/0.1415, allocations: 0 / 361.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1419, allocations: 40.14 kB / 361.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.1423, allocations: 121.5 kB / 361.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.1427, allocations: 0.6807 MB / 362.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.993e-05/0.1428, allocations: 3.984 kB / 362.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.1428, allocations: 11.44 kB / 362.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1428, allocations: 0 / 362.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of Templates: time 0.003541/0.1464, allocations: 424.7 kB / 363 MB, free: 8.148 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches