Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 94.5 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 202.3 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.651/1.651, allocations: 227.7 MB / 247.5 MB, free: 11.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002765, allocations: 4 kB / 308.4 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 51.53 MB / 359.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002213/0.1402, allocations: 1.223 MB / 361.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000457/0.1407, allocations: 127.6 kB / 361.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1408, allocations: 0 / 361.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.221e-05/0.1408, allocations: 3.938 kB / 361.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.141, allocations: 11.98 kB / 361.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1413, allocations: 39.28 kB / 361.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.47e-05/0.1414, allocations: 19.94 kB / 361.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1416, allocations: 15.97 kB / 361.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.1416, allocations: 7.938 kB / 361.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.1417, allocations: 15.88 kB / 361.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1417, allocations: 0 / 361.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.1417, allocations: 4 kB / 361.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.1418, allocations: 7.984 kB / 361.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.1418, allocations: 45.52 kB / 361.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.929e-05/0.1419, allocations: 27.94 kB / 361.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1419, allocations: 0 / 361.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1419, allocations: 4 kB / 361.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.142, allocations: 0 / 361.5 MB, free: 11.67 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005097/0.1425, allocations: 355.6 kB / 361.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1425, allocations: 8.031 kB / 361.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.1426, allocations: 8.844 kB / 361.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1428, allocations: 188.1 kB / 362 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.1428, allocations: 4.359 kB / 362 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1428, allocations: 8.375 kB / 362 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.1431, allocations: 89.59 kB / 362.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1431, allocations: 192 / 362.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1432, allocations: 7.938 kB / 362.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1432, allocations: 4 kB / 362.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.1433, allocations: 19.98 kB / 362.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.1437, allocations: 261.7 kB / 362.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.1438, allocations: 45.16 kB / 362.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.1438, allocations: 25.77 kB / 362.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1439, allocations: 3.938 kB / 362.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1439, allocations: 34.5 kB / 362.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1439, allocations: 0 / 362.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002757/0.1442, allocations: 77.61 kB / 362.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.1443, allocations: 77.11 kB / 362.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1444, allocations: 132.6 kB / 362.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1445, allocations: 25.7 kB / 362.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.1445, allocations: 88.14 kB / 362.9 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.1446, allocations: 4.141 kB / 362.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1446, allocations: 13.72 kB / 362.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1448, allocations: 318.8 kB / 363.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.1448, allocations: 4 kB / 363.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.1449, allocations: 21.7 kB / 363.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.145, allocations: 37.7 kB / 363.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.145, allocations: 0 / 363.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001259/0.1451, allocations: 57.62 kB / 363.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1452, allocations: 4 kB / 363.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1452, allocations: 8 kB / 363.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1452, allocations: 8 kB / 363.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.1453, allocations: 7.984 kB / 363.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1453, allocations: 0 / 363.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.1453, allocations: 7.906 kB / 363.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1453, allocations: 0 / 363.4 MB, free: 9.484 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001312/0.1455, allocations: 125.7 kB / 363.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.1456, allocations: 33.69 kB / 363.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.1456, allocations: 15.83 kB / 363.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1456, allocations: 4.031 kB / 363.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1456, allocations: 0 / 363.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1456, allocations: 4 kB / 363.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.1458, allocations: 165.6 kB / 363.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1459, allocations: 0 / 363.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.1459, allocations: 7.938 kB / 363.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1459, allocations: 3.938 kB / 363.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/0.1459, allocations: 4 kB / 363.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1459, allocations: 0 / 363.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1459, allocations: 0 / 363.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.1462, allocations: 168.2 kB / 363.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.1463, allocations: 89 kB / 364 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1463, allocations: 4 kB / 364 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.1463, allocations: 0 / 364 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.1464, allocations: 8.031 kB / 364 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1464, allocations: 0 / 364 MB, free: 8.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.1465, allocations: 111.2 kB / 364.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1465, allocations: 3.938 kB / 364.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1467, allocations: 0 / 364.1 MB, free: 8.645 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001186/0.1469, allocations: 103.2 kB / 364.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.147, allocations: 23.98 kB / 364.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.147, allocations: 0 / 364.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.1471, allocations: 8 kB / 364.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1475, allocations: 23.95 kB / 364.3 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.1479, allocations: 183.5 kB / 364.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.1482, allocations: 0.6887 MB / 365.1 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.1482, allocations: 7.438 kB / 365.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1482, allocations: 0 / 365.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of Templates: time 0.002186/0.1504, allocations: 0.6246 MB / 365.8 MB, free: 6.918 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches