Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.36 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1341, allocations: 50.53 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003508/0.1377, allocations: 1.575 MB / 360 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1388, allocations: 0.5532 MB / 360.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.139, allocations: 7.938 kB / 360.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.062e-05/0.139, allocations: 3.938 kB / 360.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.1392, allocations: 15.81 kB / 360.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.1395, allocations: 55.81 kB / 360.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.1397, allocations: 51.84 kB / 360.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1398, allocations: 28.14 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.1399, allocations: 31.86 kB / 360.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/0.14, allocations: 23.84 kB / 360.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.14, allocations: 4 kB / 360.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.728e-05/0.1401, allocations: 4 kB / 360.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.1402, allocations: 15.94 kB / 360.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.1402, allocations: 27.8 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1404, allocations: 63.67 kB / 360.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1404, allocations: 4 kB / 360.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1404, allocations: 4 kB / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1404, allocations: 0 / 360.9 MB, free: 11.46 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.0005856/0.141, allocations: 383.3 kB / 361.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.141, allocations: 8.031 kB / 361.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.1412, allocations: 20.83 kB / 361.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1415, allocations: 196.7 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.1415, allocations: 4.375 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1415, allocations: 7.938 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.1418, allocations: 121.8 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1419, allocations: 0 / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1419, allocations: 0 / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1419, allocations: 0 / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.142, allocations: 19.98 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.1424, allocations: 286.5 kB / 361.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1425, allocations: 71.8 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.1426, allocations: 34.62 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1426, allocations: 0 / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1427, allocations: 34.56 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1427, allocations: 0 / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003001/0.143, allocations: 93.44 kB / 362.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.1431, allocations: 106.8 kB / 362.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1433, allocations: 147.4 kB / 362.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1433, allocations: 25.7 kB / 362.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.977e-05/0.1434, allocations: 100 kB / 362.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.1434, allocations: 384 / 362.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1434, allocations: 21.72 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1436, allocations: 314.8 kB / 362.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.1437, allocations: 12 kB / 362.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.1437, allocations: 35.36 kB / 362.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1439, allocations: 51.36 kB / 363 MB, free: 9.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1439, allocations: 0 / 363 MB, free: 9.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001641/0.144, allocations: 73.45 kB / 363 MB, free: 9.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1441, allocations: 8 kB / 363 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1441, allocations: 0 / 363 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1441, allocations: 4.125 kB / 363 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.1442, allocations: 11.98 kB / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1442, allocations: 0 / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.1443, allocations: 7.938 kB / 363.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.1443, allocations: 4 kB / 363.1 MB, free: 9.004 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 0.0001136/0.1444, allocations: 113.8 kB / 363.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.039e-05/0.1445, allocations: 61.47 kB / 363.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.1445, allocations: 7.875 kB / 363.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1446, allocations: 8.062 kB / 363.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1446, allocations: 3.984 kB / 363.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1446, allocations: 3.938 kB / 363.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.1448, allocations: 173.7 kB / 363.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1448, allocations: 0 / 363.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.1449, allocations: 11.98 kB / 363.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1449, allocations: 0 / 363.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1449, allocations: 4 kB / 363.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1449, allocations: 4 kB / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1449, allocations: 3.938 kB / 363.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.1451, allocations: 181.2 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.1452, allocations: 93 kB / 363.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1453, allocations: 4 kB / 363.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.1453, allocations: 0 / 363.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1454, allocations: 11.92 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1454, allocations: 4 kB / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.202e-05/0.1455, allocations: 113 kB / 363.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1455, allocations: 0 / 363.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1457, allocations: 4 kB / 363.8 MB, free: 8.105 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.0001287/0.1459, allocations: 107.2 kB / 364 MB, free: 7.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.146, allocations: 27.98 kB / 364 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.146, allocations: 8.188 kB / 364 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.1461, allocations: 15.92 kB / 364 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.1466, allocations: 24.92 kB / 364 MB, free: 7.922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.147, allocations: 218 kB / 364.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1474, allocations: 0.6885 MB / 364.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.1474, allocations: 11.44 kB / 364.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1474, allocations: 0 / 364.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of Templates: time 0.002694/0.1501, allocations: 0.868 MB / 365.8 MB, free: 6.082 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches