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.001497/0.001497, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 60.39 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1378, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003613/0.1415, allocations: 1.433 MB / 360.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002514/0.1418, allocations: 27.84 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.1419, allocations: 4 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.701e-05/0.142, allocations: 0 / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.142, allocations: 3.938 kB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.1423, allocations: 27.36 kB / 360.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.1425, allocations: 31.84 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1426, allocations: 12 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.519e-05/0.1427, allocations: 11.98 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.1427, allocations: 11.94 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1427, allocations: 0 / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.1428, allocations: 4 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.1428, allocations: 7.922 kB / 360.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.1428, allocations: 15.94 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.143, allocations: 35.83 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.143, allocations: 4 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.143, allocations: 0 / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.143, allocations: 0 / 360.5 MB, free: 11.7 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.0005661/0.1436, allocations: 351.3 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1437, allocations: 8.031 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.1437, allocations: 12.83 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.144, allocations: 168.4 kB / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.144, allocations: 384 / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.144, allocations: 12.38 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.1444, allocations: 119.8 kB / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1445, allocations: 192 / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1445, allocations: 3.938 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1445, allocations: 0 / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1446, allocations: 27.91 kB / 361.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.1449, allocations: 165.6 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1451, allocations: 58.55 kB / 361.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.1452, allocations: 28.91 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.1452, allocations: 0 / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1452, allocations: 34.5 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1452, allocations: 0 / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003068/0.1455, allocations: 85.53 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.1456, allocations: 59.41 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1457, allocations: 105.8 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1457, allocations: 29.7 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.1458, allocations: 80.14 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.1458, allocations: 3.906 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.1459, allocations: 21.7 kB / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.146, allocations: 318.8 kB / 362.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.146, allocations: 3.938 kB / 362.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.1461, allocations: 39.8 kB / 362.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.1461, allocations: 39.38 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1461, allocations: 0 / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.383e-05/0.1462, allocations: 61.56 kB / 362.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1462, allocations: 8 kB / 362.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1463, allocations: 3.938 kB / 362.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1463, allocations: 0 / 362.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.1464, allocations: 12 kB / 362.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1464, allocations: 4 kB / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.1464, allocations: 0 / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.1464, allocations: 4 kB / 362.4 MB, free: 9.609 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.938e-05/0.1465, allocations: 117.9 kB / 362.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.1467, allocations: 73.5 kB / 362.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1467, allocations: 11.84 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1467, allocations: 0 / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1467, allocations: 0 / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1467, allocations: 4 kB / 362.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.1469, allocations: 153.7 kB / 362.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1469, allocations: 3.984 kB / 362.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.1469, allocations: 8 kB / 362.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1469, allocations: 0 / 362.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.147, allocations: 7.938 kB / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.147, allocations: 0 / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.147, allocations: 0 / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1472, allocations: 93.03 kB / 362.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.1472, allocations: 85.02 kB / 362.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1472, allocations: 3.938 kB / 362.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.1473, allocations: 7.938 kB / 362.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-06/0.1473, allocations: 0 / 362.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1473, allocations: 7.984 kB / 362.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.465e-05/0.1474, allocations: 83.28 kB / 363 MB, free: 8.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1474, allocations: 3.938 kB / 363 MB, free: 8.848 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.1476, allocations: 4 kB / 363 MB, free: 8.844 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.0001445/0.1477, allocations: 99.25 kB / 363.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.1479, allocations: 36.19 kB / 363.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1479, allocations: 256 / 363.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1479, allocations: 4 kB / 363.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.1482, allocations: 32.23 kB / 363.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.1486, allocations: 123.1 kB / 363.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.149, allocations: 0.6807 MB / 364 MB, free: 7.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.224e-05/0.149, allocations: 3.984 kB / 364 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.149, allocations: 11.44 kB / 364 MB, free: 7.801 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.149, allocations: 0 / 364 MB, free: 7.801 MB / 302.1 MB Notification: Performance of Templates: time 0.003266/0.1523, allocations: 435.1 kB / 364.4 MB, free: 7.379 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/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