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.001001/0.001001, allocations: 91.77 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.129/1.129, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001721/0.0001721, allocations: 4 kB / 307.7 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07483/0.07501, allocations: 51.52 MB / 359.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00147/0.07651, allocations: 1.344 MB / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007865/0.07731, allocations: 0.561 MB / 361.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.07738, allocations: 0 / 361.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.07742, allocations: 7.922 kB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.07753, allocations: 11.94 kB / 361.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.07777, allocations: 59.81 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.07787, allocations: 51.84 kB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.07796, allocations: 24.16 kB / 361.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.426e-05/0.07806, allocations: 31.84 kB / 361.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.07812, allocations: 23.86 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.07814, allocations: 4 kB / 361.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.181e-05/0.07817, allocations: 4 kB / 361.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.07822, allocations: 19.92 kB / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.07826, allocations: 53.44 kB / 361.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.07837, allocations: 67.72 kB / 361.5 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.07838, allocations: 0 / 361.5 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07839, allocations: 0 / 361.5 MB, free: 11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.816e-06/0.0784, allocations: 0 / 361.5 MB, free: 11 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.0003754/0.07877, allocations: 383.3 kB / 361.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.07882, allocations: 16.03 kB / 361.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.07894, allocations: 20.83 kB / 361.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.07913, allocations: 205.3 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-06/0.07914, allocations: 384 / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.07917, allocations: 4.375 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.07942, allocations: 151 kB / 362.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.07943, allocations: 0 / 362.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.07945, allocations: 4 kB / 362.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.07946, allocations: 0 / 362.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.369e-05/0.07954, allocations: 35.86 kB / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.07983, allocations: 291.4 kB / 362.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.07996, allocations: 94.42 kB / 362.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.08004, allocations: 47.48 kB / 362.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.08007, allocations: 11.92 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.0801, allocations: 38.55 kB / 362.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.0801, allocations: 0 / 362.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002468/0.08035, allocations: 105.5 kB / 362.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.08044, allocations: 137 kB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.08057, allocations: 157.6 kB / 363.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.08059, allocations: 25.7 kB / 363.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.08064, allocations: 96.12 kB / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.08065, allocations: 0 / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.08068, allocations: 17.72 kB / 363.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.08078, allocations: 318.8 kB / 363.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.08083, allocations: 19.98 kB / 363.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.0809, allocations: 49.09 kB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.08102, allocations: 69.08 kB / 363.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.08103, allocations: 4 kB / 363.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001397/0.08117, allocations: 89.45 kB / 363.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.08119, allocations: 11.98 kB / 363.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.0812, allocations: 0 / 363.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.08121, allocations: 4 kB / 363.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.08129, allocations: 8 kB / 363.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.0813, allocations: 7.938 kB / 363.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.08135, allocations: 8.109 kB / 363.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.08137, allocations: 8.188 kB / 363.9 MB, free: 8.281 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 7.607e-05/0.08145, allocations: 133.7 kB / 364 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.08153, allocations: 65.44 kB / 364.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.08157, allocations: 19.81 kB / 364.1 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.08158, allocations: 4 kB / 364.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.08159, allocations: 0 / 364.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.08159, allocations: 0 / 364.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.08176, allocations: 185.6 kB / 364.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.08177, allocations: 0 / 364.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.08183, allocations: 20.03 kB / 364.3 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.08184, allocations: 0 / 364.3 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.08185, allocations: 4 kB / 364.3 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.08186, allocations: 7.922 kB / 364.3 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.08187, allocations: 3.984 kB / 364.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.08206, allocations: 202 kB / 364.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.08213, allocations: 97 kB / 364.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.08214, allocations: 0 / 364.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.08222, allocations: 4 kB / 364.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.08224, allocations: 0 / 364.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.08225, allocations: 7.984 kB / 364.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.616e-05/0.08232, allocations: 119.2 kB / 364.7 MB, free: 7.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.283e-06/0.08233, allocations: 0 / 364.7 MB, free: 7.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.08254, allocations: 11.94 kB / 364.8 MB, free: 7.301 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 8.122e-05/0.08263, allocations: 99.25 kB / 364.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.08277, allocations: 40.23 kB / 364.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08278, allocations: 8 kB / 364.9 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.08283, allocations: 15.98 kB / 364.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.08318, allocations: 39.91 kB / 365 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.08354, allocations: 243.9 kB / 365.2 MB, free: 6.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.08379, allocations: 0.7004 MB / 365.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.807e-05/0.08383, allocations: 8.594 kB / 365.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.08386, allocations: 15.44 kB / 365.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.08387, allocations: 0 / 365.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of Templates: time 0.002457/0.08633, allocations: 0.7734 MB / 366.7 MB, free: 5.309 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/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