Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 96.42 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 207.9 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.7 MB / 247.5 MB, free: 9.508 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 8 kB / 308.4 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1082, allocations: 51.52 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002201/0.1104, allocations: 1.34 MB / 361.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1117, allocations: 0.5571 MB / 361.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1118, allocations: 8 kB / 361.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.578e-05/0.1119, allocations: 11.86 kB / 361.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1121, allocations: 3.938 kB / 361.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.1125, allocations: 67.75 kB / 361.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.1126, allocations: 55.78 kB / 362 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1127, allocations: 24.2 kB / 362 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1129, allocations: 39.84 kB / 362 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.1129, allocations: 15.86 kB / 362 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.113, allocations: 4 kB / 362 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.87e-05/0.113, allocations: 4 kB / 362 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1131, allocations: 15.92 kB / 362.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.1132, allocations: 61.44 kB / 362.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1133, allocations: 39.92 kB / 362.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1133, allocations: 3.938 kB / 362.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1133, allocations: 0 / 362.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1133, allocations: 0 / 362.2 MB, free: 10.79 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005703/0.1139, allocations: 387.3 kB / 362.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1139, allocations: 8.031 kB / 362.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.1141, allocations: 20.78 kB / 362.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.1144, allocations: 211.7 kB / 362.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1144, allocations: 8.375 kB / 362.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1144, allocations: 384 / 362.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.1148, allocations: 147 kB / 362.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1148, allocations: 0 / 362.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.1148, allocations: 4 kB / 362.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1148, allocations: 0 / 362.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1149, allocations: 35.92 kB / 363 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.1153, allocations: 291.4 kB / 363.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1155, allocations: 98.42 kB / 363.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.1156, allocations: 47.42 kB / 363.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.1156, allocations: 7.984 kB / 363.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.1157, allocations: 38.56 kB / 363.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1157, allocations: 0 / 363.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003736/0.1161, allocations: 109.9 kB / 363.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1162, allocations: 136.5 kB / 363.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.1163, allocations: 146.2 kB / 363.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1164, allocations: 29.7 kB / 363.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.1164, allocations: 96.06 kB / 363.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1165, allocations: 4 kB / 363.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.1165, allocations: 9.719 kB / 364 MB, free: 8.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1166, allocations: 330.8 kB / 364.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.1167, allocations: 15.94 kB / 364.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1168, allocations: 49.14 kB / 364.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1169, allocations: 65.08 kB / 364.4 MB, free: 8.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1169, allocations: 0 / 364.4 MB, free: 8.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001808/0.1171, allocations: 97.45 kB / 364.5 MB, free: 8.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1172, allocations: 4 kB / 364.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1172, allocations: 4 kB / 364.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1172, allocations: 0 / 364.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1173, allocations: 19.92 kB / 364.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1173, allocations: 192 / 364.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-05/0.1174, allocations: 8 kB / 364.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1174, allocations: 4 kB / 364.5 MB, free: 8.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 9.671e-05/0.1175, allocations: 137.6 kB / 364.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1176, allocations: 69.44 kB / 364.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.1177, allocations: 15.83 kB / 364.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1177, allocations: 0 / 364.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1177, allocations: 4 kB / 364.8 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1177, allocations: 4.094 kB / 364.8 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.1179, allocations: 181.6 kB / 364.9 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1179, allocations: 4 kB / 364.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.009e-05/0.118, allocations: 11.98 kB / 365 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.118, allocations: 4 kB / 365 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.118, allocations: 3.938 kB / 365 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.118, allocations: 0 / 365 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1181, allocations: 4 kB / 365 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.1183, allocations: 205.9 kB / 365.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.1184, allocations: 96.98 kB / 365.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1184, allocations: 4 kB / 365.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.1185, allocations: 0 / 365.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.1185, allocations: 8.188 kB / 365.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.1186, allocations: 4 kB / 365.3 MB, free: 7.215 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.327e-05/0.1187, allocations: 126.2 kB / 365.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1187, allocations: 0 / 365.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1189, allocations: 8 kB / 365.4 MB, free: 7.086 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001222/0.119, allocations: 95.23 kB / 365.5 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.1192, allocations: 51.92 kB / 365.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1192, allocations: 0 / 365.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.1193, allocations: 11.98 kB / 365.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.1197, allocations: 43.84 kB / 365.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.1203, allocations: 277.9 kB / 365.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1206, allocations: 0.6965 MB / 366.6 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.1206, allocations: 19.42 kB / 366.6 MB, free: 5.82 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1206, allocations: 0 / 366.6 MB, free: 5.82 MB / 302.1 MB Notification: Performance of Templates: time 0.003063/0.1237, allocations: 1.008 MB / 367.6 MB, free: 4.816 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches