Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.00113, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 59.28 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1361, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004098/0.1402, allocations: 1.92 MB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1425, allocations: 1.317 MB / 362.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1428, allocations: 7.938 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.1431, allocations: 59.67 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.1436, allocations: 139.3 kB / 362.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007611/0.1444, allocations: 242.6 kB / 362.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.1447, allocations: 187.5 kB / 362.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1449, allocations: 33.66 kB / 362.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1451, allocations: 83.56 kB / 362.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1452, allocations: 87.61 kB / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1453, allocations: 12 kB / 363 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.1454, allocations: 59.97 kB / 363 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1456, allocations: 59.81 kB / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.98e-05/0.1457, allocations: 87.36 kB / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.1461, allocations: 255.1 kB / 363.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1461, allocations: 0 / 363.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1461, allocations: 0 / 363.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1462, allocations: 0 / 363.4 MB, free: 8.793 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009297/0.1471, allocations: 0.5505 MB / 364 MB, free: 8.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1471, allocations: 12.03 kB / 364 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.089e-05/0.1472, allocations: 28.56 kB / 364 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.1478, allocations: 291.6 kB / 364.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1478, allocations: 8.359 kB / 364.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1478, allocations: 12.12 kB / 364.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.1483, allocations: 191.5 kB / 364.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1483, allocations: 4 kB / 364.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1483, allocations: 0 / 364.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1483, allocations: 0 / 364.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1485, allocations: 43.91 kB / 364.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/0.1491, allocations: 399.2 kB / 364.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.1494, allocations: 146.5 kB / 365.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.1495, allocations: 55.42 kB / 365.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.1495, allocations: 4 kB / 365.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.1497, allocations: 83.31 kB / 365.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.1497, allocations: 3.938 kB / 365.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004266/0.1502, allocations: 169.2 kB / 365.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1503, allocations: 192.3 kB / 365.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.1506, allocations: 343 kB / 365.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.1507, allocations: 25.7 kB / 365.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.1508, allocations: 136.3 kB / 366.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1508, allocations: 19.75 kB / 366.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.1509, allocations: 37.7 kB / 366.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.151, allocations: 334.8 kB / 366.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.1511, allocations: 27.98 kB / 366.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1512, allocations: 108.5 kB / 366.6 MB, free: 5.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.1514, allocations: 106.2 kB / 366.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1514, allocations: 0 / 366.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002623/0.1517, allocations: 137.2 kB / 366.8 MB, free: 4.996 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1517, allocations: 8.188 kB / 366.8 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1517, allocations: 7.984 kB / 366.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1517, allocations: 4 kB / 366.8 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1518, allocations: 16 kB / 366.9 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1519, allocations: 7.984 kB / 366.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-05/0.152, allocations: 7.938 kB / 366.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.152, allocations: 8 kB / 366.9 MB, free: 4.938 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001584/0.1522, allocations: 153.7 kB / 367 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.1523, allocations: 85.34 kB / 367.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.625e-05/0.1523, allocations: 29.73 kB / 367.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1524, allocations: 0 / 367.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1524, allocations: 4 kB / 367.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1524, allocations: 3.938 kB / 367.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.1526, allocations: 257.5 kB / 367.4 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1526, allocations: 3.984 kB / 367.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.1527, allocations: 12 kB / 367.4 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1527, allocations: 3.938 kB / 367.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1528, allocations: 7.938 kB / 367.4 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1528, allocations: 12.02 kB / 367.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1528, allocations: 4 kB / 367.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.1531, allocations: 179.3 kB / 367.6 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1532, allocations: 108.8 kB / 367.7 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.1533, allocations: 20.09 kB / 367.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.1534, allocations: 7.984 kB / 367.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.1534, allocations: 11.98 kB / 367.8 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1534, allocations: 7.938 kB / 367.8 MB, free: 3.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002544/0.1537, allocations: 249.9 kB / 368 MB, free: 3.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1537, allocations: 3.938 kB / 368 MB, free: 3.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.154, allocations: 32 kB / 368.1 MB, free: 3.648 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001034/0.1551, allocations: 425.1 kB / 368.5 MB, free: 3.367 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.1553, allocations: 83.84 kB / 368.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1553, allocations: 0 / 368.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.1554, allocations: 32.11 kB / 368.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.156, allocations: 77.55 kB / 368.7 MB, free: 3.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007692/0.1568, allocations: 407.5 kB / 369.1 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.1572, allocations: 0.7476 MB / 369.8 MB, free: 1.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1573, allocations: 37.52 kB / 369.8 MB, free: 1.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.1574, allocations: 19.44 kB / 369.9 MB, free: 1.918 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1574, allocations: 0 / 369.9 MB, free: 1.918 MB / 302.1 MB Notification: Performance of Templates: time 0.1922/0.3496, allocations: 3.066 MB / 372.9 MB, free: 19.25 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches