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.001136/0.001136, allocations: 92.52 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.001131, allocations: 204.5 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.64/1.64, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003116, allocations: 11.98 kB / 307.7 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1521, allocations: 51.52 MB / 359.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002284/0.1545, allocations: 1.223 MB / 360.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004037/0.1549, allocations: 127.6 kB / 360.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1551, allocations: 4 kB / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.1551, allocations: 7.938 kB / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.1553, allocations: 4 kB / 360.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.1556, allocations: 35.91 kB / 360.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.1557, allocations: 23.92 kB / 360.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1558, allocations: 8 kB / 360.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.645e-05/0.1558, allocations: 11.92 kB / 360.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.1559, allocations: 15.88 kB / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1559, allocations: 0 / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.1559, allocations: 0 / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.156, allocations: 15.97 kB / 360.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.1561, allocations: 45.52 kB / 360.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.1562, allocations: 35.77 kB / 360.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1562, allocations: 0 / 360.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1562, allocations: 0 / 360.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1562, allocations: 0 / 360.8 MB, free: 11.75 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.0005306/0.1567, allocations: 355.6 kB / 361.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1568, allocations: 12.03 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.1568, allocations: 8.844 kB / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1571, allocations: 196.1 kB / 361.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1571, allocations: 4.375 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1571, allocations: 384 / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.1574, allocations: 93.61 kB / 361.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1574, allocations: 192 / 361.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.1574, allocations: 7.938 kB / 361.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1575, allocations: 0 / 361.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.035e-05/0.1575, allocations: 19.98 kB / 361.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.1579, allocations: 257.8 kB / 361.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.6e-05/0.158, allocations: 49.22 kB / 361.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.1581, allocations: 21.7 kB / 361.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1581, allocations: 7.938 kB / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1581, allocations: 30.56 kB / 361.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 2.575e-06/0.1582, allocations: 4 kB / 361.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002597/0.1584, allocations: 73.45 kB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.1585, allocations: 81.11 kB / 362 MB, free: 10.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1586, allocations: 132.9 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1587, allocations: 25.7 kB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.1587, allocations: 92.39 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.1587, allocations: 0 / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.1588, allocations: 9.719 kB / 362.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1589, allocations: 318.8 kB / 362.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/0.159, allocations: 8 kB / 362.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.159, allocations: 21.7 kB / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.078e-05/0.1591, allocations: 37.7 kB / 362.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1591, allocations: 0 / 362.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001117/0.1592, allocations: 57.62 kB / 362.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1593, allocations: 8.062 kB / 362.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1593, allocations: 0 / 362.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1593, allocations: 7.938 kB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.1594, allocations: 7.984 kB / 362.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1594, allocations: 0 / 362.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.1595, allocations: 11.89 kB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1595, allocations: 0 / 362.7 MB, free: 9.555 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 9.652e-05/0.1596, allocations: 121.7 kB / 362.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.1596, allocations: 45.62 kB / 362.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.1597, allocations: 15.83 kB / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1597, allocations: 0 / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1597, allocations: 0 / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1597, allocations: 0 / 362.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.1599, allocations: 165.6 kB / 363.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1599, allocations: 4 kB / 363.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.16, allocations: 4 kB / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.16, allocations: 3.938 kB / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.16, allocations: 0 / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.16, allocations: 8.031 kB / 363.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.16, allocations: 0 / 363.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.1602, allocations: 164.2 kB / 363.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.1603, allocations: 92.94 kB / 363.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1603, allocations: 4 kB / 363.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.154e-05/0.1604, allocations: 12.03 kB / 363.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.1604, allocations: 0 / 363.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1604, allocations: 4 kB / 363.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.713e-05/0.1605, allocations: 107.2 kB / 363.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1605, allocations: 0 / 363.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.1607, allocations: 4 kB / 363.5 MB, free: 8.707 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.0001194/0.1608, allocations: 99.19 kB / 363.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.161, allocations: 23.98 kB / 363.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.161, allocations: 0 / 363.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/0.161, allocations: 12 kB / 363.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1614, allocations: 22.19 kB / 363.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.1618, allocations: 157.8 kB / 363.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1621, allocations: 0.6848 MB / 364.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.21e-05/0.1621, allocations: 256 / 364.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.1621, allocations: 11.44 kB / 364.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1622, allocations: 0 / 364.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of Templates: time 0.002776/0.1649, allocations: 407 kB / 364.9 MB, free: 7.246 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/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