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.001363/0.001363, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001759, allocations: 59.44 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1203, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003083/0.1234, allocations: 1.575 MB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1245, allocations: 0.5571 MB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.1246, allocations: 0 / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.738e-05/0.1246, allocations: 3.938 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1248, allocations: 19.84 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.1251, allocations: 59.75 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1253, allocations: 47.86 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1254, allocations: 24.14 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1256, allocations: 27.86 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.1256, allocations: 19.88 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1257, allocations: 0 / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.038e-05/0.1257, allocations: 11.98 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.1258, allocations: 11.94 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.1258, allocations: 31.78 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.126, allocations: 67.73 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.126, allocations: 0 / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.126, allocations: 4 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.126, allocations: 0 / 361.4 MB, free: 10.88 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.0005814/0.1266, allocations: 383 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1267, allocations: 8.031 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1268, allocations: 20.77 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.1271, allocations: 200.3 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1272, allocations: 4.375 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1272, allocations: 7.938 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1275, allocations: 113.9 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1275, allocations: 3.984 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1276, allocations: 4 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1276, allocations: 4 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.1277, allocations: 23.92 kB / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.128, allocations: 274.5 kB / 362.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1282, allocations: 75.78 kB / 362.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.877e-05/0.1282, allocations: 30.64 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1283, allocations: 11.97 kB / 362.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1283, allocations: 34.5 kB / 362.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1283, allocations: 4 kB / 362.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002907/0.1286, allocations: 85.45 kB / 362.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.1287, allocations: 106.8 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1288, allocations: 153.6 kB / 362.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1289, allocations: 29.64 kB / 362.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.1289, allocations: 100.4 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.129, allocations: 0 / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.129, allocations: 21.7 kB / 363 MB, free: 8.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1291, allocations: 314.8 kB / 363.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.1292, allocations: 11.98 kB / 363.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.777e-05/0.1292, allocations: 31.42 kB / 363.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.026e-05/0.1293, allocations: 51.36 kB / 363.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1293, allocations: 4 kB / 363.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001422/0.1295, allocations: 61.62 kB / 363.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1295, allocations: 12.12 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1295, allocations: 0 / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1296, allocations: 3.984 kB / 363.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.1296, allocations: 11.98 kB / 363.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.1297, allocations: 7.938 kB / 363.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.1297, allocations: 3.938 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1297, allocations: 4 kB / 363.5 MB, free: 8.406 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.0001097/0.1298, allocations: 126.9 kB / 363.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.1299, allocations: 57.55 kB / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.13, allocations: 7.859 kB / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.13, allocations: 4 kB / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.13, allocations: 0 / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.13, allocations: 3.938 kB / 363.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.1302, allocations: 173.7 kB / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1302, allocations: 0 / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.1303, allocations: 11.98 kB / 363.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1303, allocations: 0 / 363.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1303, allocations: 4 kB / 363.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1303, allocations: 8.047 kB / 363.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1303, allocations: 0 / 363.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.1305, allocations: 177 kB / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.1306, allocations: 97 kB / 364.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1306, allocations: 0 / 364.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.1307, allocations: 15.98 kB / 364.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1307, allocations: 3.938 kB / 364.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1307, allocations: 0 / 364.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.387e-05/0.1308, allocations: 122.2 kB / 364.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1308, allocations: 0 / 364.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1311, allocations: 8 kB / 364.3 MB, free: 7.496 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.0001439/0.1312, allocations: 99.19 kB / 364.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1314, allocations: 35.92 kB / 364.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1314, allocations: 0 / 364.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.1314, allocations: 11.98 kB / 364.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1318, allocations: 23.95 kB / 364.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.1322, allocations: 188.7 kB / 364.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1325, allocations: 0.6947 MB / 365.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.924e-05/0.1326, allocations: 7.984 kB / 365.4 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.1326, allocations: 11.44 kB / 365.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1326, allocations: 0 / 365.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of Templates: time 0.00338/0.136, allocations: 0.6411 MB / 366 MB, free: 5.738 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 -s cvode -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/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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches