Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.97 kB / 306.9 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1308, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.004297/0.1351, allocations: 1.589 MB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1366, allocations: 0.5571 MB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.1368, allocations: 0 / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.055e-05/0.1369, allocations: 7.875 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.1371, allocations: 7.938 kB / 359.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.1377, allocations: 67.69 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.1379, allocations: 47.91 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.138, allocations: 16.16 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1382, allocations: 31.86 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.346e-05/0.1383, allocations: 27.84 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.1383, allocations: 4 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.1384, allocations: 8 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.1384, allocations: 11.94 kB / 359.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.1385, allocations: 27.8 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1387, allocations: 63.73 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1387, allocations: 4 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1387, allocations: 3.938 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1387, allocations: 0 / 359.9 MB, free: 11.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005548/0.1393, allocations: 379.3 kB / 360.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1393, allocations: 12.03 kB / 360.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.1395, allocations: 20.77 kB / 360.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.1398, allocations: 196.7 kB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1398, allocations: 12.38 kB / 360.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.1398, allocations: 3.938 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.1403, allocations: 109.9 kB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1403, allocations: 0 / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1403, allocations: 0 / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1403, allocations: 0 / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-05/0.1404, allocations: 31.92 kB / 360.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.1408, allocations: 274.5 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.1409, allocations: 71.78 kB / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.839e-05/0.141, allocations: 34.62 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.141, allocations: 4 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1411, allocations: 42.48 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1411, allocations: 4 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002887/0.1414, allocations: 81.52 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.1415, allocations: 110.8 kB / 361.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1417, allocations: 149.7 kB / 361.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1417, allocations: 29.7 kB / 361.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.1418, allocations: 96.41 kB / 361.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.1418, allocations: 0 / 361.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.1418, allocations: 17.72 kB / 361.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.142, allocations: 322.8 kB / 361.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.142, allocations: 4 kB / 361.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.1421, allocations: 35.42 kB / 361.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1422, allocations: 55.3 kB / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1422, allocations: 0 / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001548/0.1424, allocations: 73.52 kB / 362.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1424, allocations: 8.125 kB / 362.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1424, allocations: 0 / 362.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1424, allocations: 4 kB / 362.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.1425, allocations: 4 kB / 362.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1425, allocations: 11.92 kB / 362.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.1426, allocations: 7.938 kB / 362.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1426, allocations: 4 kB / 362.1 MB, free: 9.121 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: 0 () * 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 8.79e-05/0.1427, allocations: 117.8 kB / 362.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.1428, allocations: 61.53 kB / 362.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.1428, allocations: 11.88 kB / 362.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1428, allocations: 3.938 kB / 362.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1428, allocations: 0 / 362.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.1429, allocations: 11.92 kB / 362.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.1431, allocations: 165.7 kB / 362.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1431, allocations: 0 / 362.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.1432, allocations: 11.98 kB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1432, allocations: 4 kB / 362.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.1432, allocations: 0 / 362.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1432, allocations: 4.062 kB / 362.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1432, allocations: 0 / 362.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1435, allocations: 185 kB / 362.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.1436, allocations: 93 kB / 362.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1436, allocations: 0 / 362.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.1436, allocations: 8 kB / 362.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.1437, allocations: 3.938 kB / 362.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1437, allocations: 7.984 kB / 362.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.1438, allocations: 106.6 kB / 362.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1438, allocations: 0 / 362.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.144, allocations: 8 kB / 362.9 MB, free: 8.227 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001214/0.1442, allocations: 103.2 kB / 363 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.1443, allocations: 35.92 kB / 363 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1443, allocations: 0 / 363 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.1444, allocations: 7.984 kB / 363 MB, free: 8.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.1449, allocations: 31.91 kB / 363.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.1453, allocations: 184.6 kB / 363.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1456, allocations: 0.6924 MB / 363.9 MB, free: 7.113 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.247e-05/0.1457, allocations: 4 kB / 363.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.1457, allocations: 11.44 kB / 364 MB, free: 7.098 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1457, allocations: 4 kB / 364 MB, free: 7.094 MB / 302.1 MB Notification: Performance of Templates: time 0.003397/0.1491, allocations: 0.6455 MB / 364.6 MB, free: 6.461 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches