Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009278/0.0009277, allocations: 98.73 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009143/0.0009144, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 11.98 kB / 306.6 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 51.48 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001972/0.1409, allocations: 1.223 MB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003654/0.1413, allocations: 143.6 kB / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.809e-05/0.1414, allocations: 3.938 kB / 359.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.284e-05/0.1415, allocations: 0 / 359.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.1416, allocations: 3.984 kB / 359.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1419, allocations: 39.84 kB / 359.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.142, allocations: 19.98 kB / 359.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1421, allocations: 19.95 kB / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.1422, allocations: 7.938 kB / 359.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.1422, allocations: 11.92 kB / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.1423, allocations: 4 kB / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.1423, allocations: 3.938 kB / 359.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.1423, allocations: 7.984 kB / 359.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.1424, allocations: 41.64 kB / 359.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.142e-05/0.1425, allocations: 31.94 kB / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1425, allocations: 0 / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1425, allocations: 0 / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1425, allocations: 0 / 359.6 MB, free: 12.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005868/0.1431, allocations: 351.4 kB / 360 MB, free: 11.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1432, allocations: 12.03 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.1432, allocations: 7.906 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1435, allocations: 193.1 kB / 360.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1435, allocations: 7.938 kB / 360.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1435, allocations: 4 kB / 360.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.1439, allocations: 113 kB / 360.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1439, allocations: 0 / 360.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1439, allocations: 12 kB / 360.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.144, allocations: 0 / 360.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.079e-05/0.144, allocations: 19.97 kB / 360.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.1444, allocations: 265.6 kB / 360.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.1446, allocations: 142.3 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1447, allocations: 4.031 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1447, allocations: 38.48 kB / 360.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.1447, allocations: 0 / 360.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002735/0.145, allocations: 81.67 kB / 360.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.1451, allocations: 81.11 kB / 360.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1452, allocations: 134 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1452, allocations: 25.7 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.1453, allocations: 92.12 kB / 361.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.1453, allocations: 0 / 361.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.1453, allocations: 8.125 kB / 361.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.1454, allocations: 310.8 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.1455, allocations: 11.98 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-05/0.1455, allocations: 31.44 kB / 361.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.1456, allocations: 27.92 kB / 361.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1456, allocations: 0 / 361.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001193/0.1457, allocations: 65.58 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1457, allocations: 4 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1457, allocations: 4 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1458, allocations: 8.109 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.1458, allocations: 8 kB / 361.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1458, allocations: 7.938 kB / 361.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.1459, allocations: 7.844 kB / 361.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1459, allocations: 4 kB / 361.7 MB, free: 10.02 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.146, allocations: 125.8 kB / 361.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.1461, allocations: 45.66 kB / 361.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.1462, allocations: 20.23 kB / 361.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1462, allocations: 0 / 361.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1462, allocations: 336 / 361.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1462, allocations: 0 / 361.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1464, allocations: 173.6 kB / 362 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1464, allocations: 0 / 362 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.866e-05/0.1464, allocations: 8 kB / 362 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1464, allocations: 7.938 kB / 362 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1465, allocations: 3.984 kB / 362 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1465, allocations: 4 kB / 362 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1465, allocations: 0 / 362 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1467, allocations: 174.1 kB / 362.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1467, allocations: 96.95 kB / 362.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1468, allocations: 7.984 kB / 362.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.1468, allocations: 4 kB / 362.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.1469, allocations: 4 kB / 362.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.1469, allocations: 0 / 362.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.314e-05/0.147, allocations: 105.9 kB / 362.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.147, allocations: 3.938 kB / 362.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.1472, allocations: 4 kB / 362.4 MB, free: 9.133 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: 4 (step.y,assignClock.u,assignClock.y,sample1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001146/0.1473, allocations: 103.2 kB / 362.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1474, allocations: 35.92 kB / 362.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1475, allocations: 0 / 362.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/0.1475, allocations: 8 kB / 362.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.1478, allocations: 27.95 kB / 362.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.1481, allocations: 165.7 kB / 362.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1485, allocations: 0.6965 MB / 363.5 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.45e-05/0.1485, allocations: 0 / 363.5 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.1486, allocations: 15.42 kB / 363.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1486, allocations: 0 / 363.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of Templates: time 0.002591/0.1512, allocations: 435.4 kB / 363.9 MB, free: 7.594 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches