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.001433/0.001433, allocations: 115.8 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.001458/0.001458, allocations: 199.5 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.471/1.471, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 55.84 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1166, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003209/0.1199, allocations: 1.622 MB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1209, allocations: 0.5803 MB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.121, allocations: 11.94 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.1211, allocations: 3.938 kB / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.1213, allocations: 15.86 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.1216, allocations: 63.75 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1218, allocations: 59.83 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1219, allocations: 20.16 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.122, allocations: 35.86 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.288e-05/0.1221, allocations: 27.84 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1221, allocations: 4 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.1222, allocations: 11.94 kB / 361.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.803e-05/0.1223, allocations: 19.92 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.1224, allocations: 31.73 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.1226, allocations: 75.67 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1226, allocations: 0 / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.1227, allocations: 0 / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1227, allocations: 3.938 kB / 361.5 MB, free: 10.71 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.0008354/0.1235, allocations: 391 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.1236, allocations: 8.031 kB / 361.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.1239, allocations: 28.73 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.1244, allocations: 216 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1244, allocations: 384 / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1244, allocations: 4.375 kB / 362.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.1249, allocations: 147 kB / 362.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1249, allocations: 0 / 362.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1249, allocations: 0 / 362.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1249, allocations: 0 / 362.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.1251, allocations: 31.92 kB / 362.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.1256, allocations: 291.4 kB / 362.6 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1258, allocations: 102.3 kB / 362.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1259, allocations: 47.48 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.1259, allocations: 0 / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.126, allocations: 38.56 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.126, allocations: 0 / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004795/0.1265, allocations: 101.4 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.1266, allocations: 141 kB / 363 MB, free: 8.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1268, allocations: 150.2 kB / 363.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1269, allocations: 25.7 kB / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.127, allocations: 96.12 kB / 363.3 MB, free: 8.652 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.127, allocations: 0 / 363.3 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.127, allocations: 25.62 kB / 363.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1272, allocations: 322.8 kB / 363.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.581e-05/0.1273, allocations: 11.98 kB / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-05/0.1274, allocations: 49.16 kB / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.1276, allocations: 65.2 kB / 363.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.1276, allocations: 4 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002246/0.1278, allocations: 85.48 kB / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1279, allocations: 4 kB / 363.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1279, allocations: 3.984 kB / 363.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1279, allocations: 4.188 kB / 363.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.128, allocations: 19.94 kB / 363.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.1281, allocations: 4 kB / 363.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.1281, allocations: 15.83 kB / 363.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1282, allocations: 0 / 363.9 MB, free: 7.992 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 0.0001331/0.1283, allocations: 129.7 kB / 364 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.1285, allocations: 65.53 kB / 364 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.1285, allocations: 15.83 kB / 364.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1285, allocations: 8.094 kB / 364.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.1286, allocations: 3.984 kB / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1286, allocations: 0 / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.1289, allocations: 177.6 kB / 364.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1289, allocations: 3.984 kB / 364.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.129, allocations: 15.94 kB / 364.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.129, allocations: 4 kB / 364.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.129, allocations: 0 / 364.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.129, allocations: 0 / 364.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.129, allocations: 7.984 kB / 364.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.1293, allocations: 201.9 kB / 364.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.1294, allocations: 92.91 kB / 364.6 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.1295, allocations: 8 kB / 364.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1296, allocations: 0 / 364.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.1297, allocations: 8 kB / 364.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1297, allocations: 0 / 364.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1298, allocations: 122.3 kB / 364.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1298, allocations: 0 / 364.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000457/0.1303, allocations: 4 kB / 364.7 MB, free: 7.031 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.0001397/0.1304, allocations: 99.23 kB / 364.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.1307, allocations: 48.23 kB / 364.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1307, allocations: 0 / 364.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.606e-05/0.1308, allocations: 11.92 kB / 364.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.1314, allocations: 51.95 kB / 364.9 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/0.132, allocations: 221.2 kB / 365.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1324, allocations: 0.6963 MB / 365.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.1324, allocations: 8.656 kB / 365.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.1325, allocations: 11.44 kB / 365.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1325, allocations: 0 / 365.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of Templates: time 0.005124/0.1376, allocations: 0.8339 MB / 366.7 MB, free: 5.008 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 -s cvode -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