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.001181/0.001181, 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.001262/0.001262, 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.476/1.476, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 55.56 kB / 306.9 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1336, allocations: 50.55 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003048/0.1367, allocations: 1.425 MB / 358.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00028/0.137, allocations: 101.4 kB / 359 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.1371, allocations: 3.938 kB / 359 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.1372, allocations: 0 / 359 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/0.1372, allocations: 3.938 kB / 359 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.1375, allocations: 23.91 kB / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.99e-05/0.1375, allocations: 27.94 kB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1377, allocations: 15.92 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.357e-05/0.1377, allocations: 8 kB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.1378, allocations: 11.92 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1378, allocations: 0 / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.1378, allocations: 4 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.1378, allocations: 11.92 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.1379, allocations: 11.94 kB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.604e-05/0.138, allocations: 27.91 kB / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.138, allocations: 4 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.138, allocations: 0 / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.138, allocations: 0 / 359.2 MB, free: 12.42 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.0004048/0.1384, allocations: 343.7 kB / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1385, allocations: 8.031 kB / 359.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.1385, allocations: 8.844 kB / 359.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1387, allocations: 172.4 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1387, allocations: 8.312 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.1387, allocations: 4.375 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.139, allocations: 115.7 kB / 359.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.139, allocations: 192 / 359.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1391, allocations: 3.938 kB / 359.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1391, allocations: 0 / 359.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.1391, allocations: 19.98 kB / 359.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.1393, allocations: 161.7 kB / 360 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1395, allocations: 54.48 kB / 360 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.1395, allocations: 20.89 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1396, allocations: 4.031 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1396, allocations: 38.5 kB / 360.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1396, allocations: 4 kB / 360.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000225/0.1398, allocations: 69.61 kB / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1399, allocations: 55.41 kB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.14, allocations: 109.8 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.14, allocations: 25.7 kB / 360.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.1401, allocations: 84.14 kB / 360.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.327e-06/0.1401, allocations: 4 kB / 360.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.1401, allocations: 17.72 kB / 360.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1402, allocations: 318.8 kB / 360.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.1403, allocations: 4 kB / 360.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.1403, allocations: 31.38 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.163e-05/0.1403, allocations: 27.44 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1403, allocations: 3.938 kB / 360.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.006e-05/0.1404, allocations: 61.53 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1405, allocations: 8 kB / 360.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1405, allocations: 3.938 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1405, allocations: 0 / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.1405, allocations: 11.98 kB / 360.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1406, allocations: 4.125 kB / 360.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.1406, allocations: 0 / 360.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1406, allocations: 7.984 kB / 360.9 MB, free: 10.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/0.1407, allocations: 121.7 kB / 361 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1408, allocations: 53.97 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.1408, allocations: 11.83 kB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1408, allocations: 4.047 kB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1409, allocations: 3.984 kB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1409, allocations: 0 / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.141, allocations: 157.7 kB / 361.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.141, allocations: 0 / 361.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.141, allocations: 15.98 kB / 361.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.141, allocations: 3.938 kB / 361.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1411, allocations: 3.938 kB / 361.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1411, allocations: 3.938 kB / 361.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1411, allocations: 0 / 361.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.1412, allocations: 92.95 kB / 361.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.1413, allocations: 77.11 kB / 361.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1413, allocations: 7.938 kB / 361.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.1413, allocations: 0 / 361.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-06/0.1413, allocations: 256 / 361.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1413, allocations: 4 kB / 361.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.77e-05/0.1414, allocations: 91.27 kB / 361.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1414, allocations: 0 / 361.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001837/0.1416, allocations: 4 kB / 361.6 MB, free: 9.637 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.86e-05/0.1417, allocations: 99.25 kB / 361.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1418, allocations: 23.92 kB / 361.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.1418, allocations: 0 / 361.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1418, allocations: 4 kB / 361.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.142, allocations: 24.02 kB / 361.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.1423, allocations: 121.6 kB / 361.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1426, allocations: 0.6845 MB / 362.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.078e-05/0.1426, allocations: 0 / 362.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.1426, allocations: 11.44 kB / 362.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1426, allocations: 0 / 362.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of Templates: time 0.002144/0.1448, allocations: 320.6 kB / 362.8 MB, free: 8.301 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