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.00171/0.00171, allocations: 111.7 kB / 17.98 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001876/0.001876, allocations: 205.8 kB / 18.92 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.829/1.829, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 62.33 kB / 307.1 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1341, allocations: 50.53 MB / 357.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003865/0.138, allocations: 1.5 MB / 359.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003596/0.1384, allocations: 91.73 kB / 359.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.1385, allocations: 4 kB / 359.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.786e-05/0.1386, allocations: 7.938 kB / 359.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.751e-05/0.1387, allocations: 0 / 359.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.139, allocations: 19.98 kB / 359.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.607e-05/0.1391, allocations: 23.92 kB / 359.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1392, allocations: 15.92 kB / 359.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.1393, allocations: 4 kB / 359.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.1393, allocations: 15.92 kB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.1394, allocations: 4 kB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.1394, allocations: 0 / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.1394, allocations: 7.938 kB / 359.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.1395, allocations: 11.94 kB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.1396, allocations: 27.89 kB / 359.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1396, allocations: 0 / 359.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1396, allocations: 0 / 359.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1396, allocations: 0 / 359.4 MB, free: 12.65 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.000563/0.1402, allocations: 347.7 kB / 359.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.1403, allocations: 12.03 kB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.1403, allocations: 8.844 kB / 359.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1406, allocations: 172.4 kB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1406, allocations: 12.38 kB / 359.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1406, allocations: 384 / 359.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.141, allocations: 103.8 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.141, allocations: 192 / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.141, allocations: 3.938 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.141, allocations: 0 / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1412, allocations: 27.92 kB / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.1414, allocations: 157.7 kB / 360.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1416, allocations: 62.5 kB / 360.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.744e-05/0.1417, allocations: 16.86 kB / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1417, allocations: 4 kB / 360.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.1418, allocations: 38.55 kB / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1418, allocations: 0 / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002763/0.1421, allocations: 73.55 kB / 360.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.1422, allocations: 55.41 kB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1423, allocations: 105.8 kB / 360.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1423, allocations: 25.7 kB / 360.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.1424, allocations: 88.14 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.1424, allocations: 4 kB / 360.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.1425, allocations: 13.72 kB / 360.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1426, allocations: 318.8 kB / 361 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.1427, allocations: 4 kB / 361 MB, free: 10.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.277e-05/0.1427, allocations: 27.44 kB / 361 MB, free: 10.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.1427, allocations: 35.38 kB / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1428, allocations: 0 / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001083/0.1429, allocations: 61.47 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1429, allocations: 8 kB / 361.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1429, allocations: 3.938 kB / 361.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1429, allocations: 4.125 kB / 361.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.143, allocations: 8 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.143, allocations: 3.984 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.143, allocations: 4 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1431, allocations: 0 / 361.1 MB, free: 10.62 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 0.0001096/0.1432, allocations: 121.7 kB / 361.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.1433, allocations: 53.62 kB / 361.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.1434, allocations: 20.16 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1434, allocations: 4 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1434, allocations: 0 / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1434, allocations: 4.234 kB / 361.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.1435, allocations: 153.7 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1435, allocations: 4 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.1436, allocations: 11.98 kB / 361.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1436, allocations: 0 / 361.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1436, allocations: 3.938 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1436, allocations: 3.938 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1436, allocations: 0 / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.1438, allocations: 89.02 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.1439, allocations: 81.11 kB / 361.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1439, allocations: 3.938 kB / 361.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.1439, allocations: 0 / 361.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-06/0.1439, allocations: 7.875 kB / 361.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.144, allocations: 4 kB / 361.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.144, allocations: 87.27 kB / 361.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.144, allocations: 0 / 361.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.1443, allocations: 8 kB / 361.8 MB, free: 9.867 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 0.0001288/0.1444, allocations: 95.25 kB / 361.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1446, allocations: 27.92 kB / 361.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1446, allocations: 0 / 361.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.1446, allocations: 0 / 361.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.1449, allocations: 24.02 kB / 361.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.1452, allocations: 155.3 kB / 362.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.1457, allocations: 0.6807 MB / 362.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.1458, allocations: 7.438 kB / 362.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1458, allocations: 0 / 362.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of Templates: time 0.002399/0.1482, allocations: 0.5628 MB / 363.3 MB, free: 8.254 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/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