Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 104.9 kB / 17.59 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002434/0.002434, allocations: 191.6 kB / 18.52 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 48.03 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.115, allocations: 49.44 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003896/0.1189, allocations: 1.565 MB / 352.3 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.12, allocations: 0.4962 MB / 352.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1202, allocations: 4 kB / 352.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.206e-05/0.1203, allocations: 7.938 kB / 352.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1204, allocations: 7.875 kB / 352.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1208, allocations: 51.83 kB / 352.9 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1209, allocations: 51.78 kB / 352.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1211, allocations: 16.17 kB / 352.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.1212, allocations: 23.92 kB / 353 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.1212, allocations: 19.86 kB / 353 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.1213, allocations: 4 kB / 353 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.1213, allocations: 4 kB / 353 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.1214, allocations: 11.94 kB / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.1214, allocations: 27.8 kB / 353 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1216, allocations: 51.81 kB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.1216, allocations: 0 / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.75e-06/0.1216, allocations: 11.92 kB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1216, allocations: 3.938 kB / 353.1 MB, free: 2.051 MB / 286.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.0005891/0.1222, allocations: 375.3 kB / 353.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1223, allocations: 15.89 kB / 353.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.1223, allocations: 8.844 kB / 353.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1226, allocations: 196.1 kB / 353.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1226, allocations: 4.375 kB / 353.7 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.1226, allocations: 8.375 kB / 353.7 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.1229, allocations: 118 kB / 353.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1229, allocations: 0 / 353.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.123, allocations: 0 / 353.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.123, allocations: 4 kB / 353.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.1231, allocations: 27.92 kB / 353.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.1235, allocations: 270.6 kB / 354.1 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1236, allocations: 71.78 kB / 354.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.1237, allocations: 34.56 kB / 354.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1237, allocations: 4 kB / 354.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1238, allocations: 34.5 kB / 354.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1238, allocations: 0 / 354.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003063/0.1241, allocations: 89.52 kB / 354.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.1242, allocations: 110.7 kB / 354.4 MB, free: 480 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1243, allocations: 140.8 kB / 354.6 MB, free: 332 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1243, allocations: 25.7 kB / 354.6 MB, free: 300 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.1244, allocations: 96.45 kB / 354.7 MB, free: 200 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1244, allocations: 11.89 kB / 354.7 MB, free: 188 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.1245, allocations: 21.66 kB / 354.7 MB, free: 160 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1246, allocations: 318.8 kB / 355 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.1247, allocations: 11.98 kB / 355 MB, free: 15.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.1248, allocations: 31.42 kB / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1249, allocations: 55.36 kB / 355.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1249, allocations: 0 / 355.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001473/0.125, allocations: 65.61 kB / 355.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1251, allocations: 8 kB / 355.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1251, allocations: 4.125 kB / 355.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1251, allocations: 0 / 355.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.1252, allocations: 11.94 kB / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1252, allocations: 0 / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.1253, allocations: 11.89 kB / 355.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1253, allocations: 4 kB / 355.2 MB, free: 15.61 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.0001061/0.1254, allocations: 117.8 kB / 355.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.1255, allocations: 57.53 kB / 355.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.1256, allocations: 11.94 kB / 355.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1256, allocations: 4 kB / 355.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1256, allocations: 0 / 355.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1256, allocations: 0 / 355.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1258, allocations: 177.6 kB / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1258, allocations: 0 / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.585e-05/0.1259, allocations: 12 kB / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1259, allocations: 0 / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1259, allocations: 0 / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.1259, allocations: 4 kB / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1259, allocations: 0 / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1262, allocations: 185.1 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.1263, allocations: 100.9 kB / 355.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1263, allocations: 4 kB / 355.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.1264, allocations: 0 / 355.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1264, allocations: 8 kB / 355.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1264, allocations: 0 / 355.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.357e-05/0.1265, allocations: 115.2 kB / 356 MB, free: 14.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1265, allocations: 0 / 356 MB, free: 14.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1268, allocations: 4 kB / 356 MB, free: 14.71 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.0001659/0.1269, allocations: 99.19 kB / 356.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.1271, allocations: 36.09 kB / 356.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1272, allocations: 4.062 kB / 356.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/0.1272, allocations: 8 kB / 356.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.1278, allocations: 50.27 kB / 356.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.1282, allocations: 214.5 kB / 356.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1286, allocations: 0.6963 MB / 357.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.1286, allocations: 7.438 kB / 357.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1286, allocations: 0 / 357.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of Templates: time 0.002922/0.1315, allocations: 0.8265 MB / 357.9 MB, free: 12.71 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches