Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.482/1.482, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 79.8 kB / 374.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1165, allocations: 53.3 MB / 428.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00301/0.1196, allocations: 1.626 MB / 429.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1206, allocations: 0.5959 MB / 430.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.1207, allocations: 3.938 kB / 430.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.648e-05/0.1208, allocations: 7.938 kB / 430.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.1209, allocations: 15.86 kB / 430.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1212, allocations: 67.73 kB / 430.4 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1214, allocations: 59.78 kB / 430.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1215, allocations: 16.23 kB / 430.5 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1216, allocations: 35.78 kB / 430.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.1217, allocations: 23.86 kB / 430.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1217, allocations: 4 kB / 430.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.229e-05/0.1217, allocations: 11.98 kB / 430.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1218, allocations: 15.94 kB / 430.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.1218, allocations: 35.73 kB / 430.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.122, allocations: 75.59 kB / 430.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.122, allocations: 0 / 430.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.122, allocations: 0 / 430.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.122, allocations: 0 / 430.7 MB, free: 1.723 MB / 350.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.0005432/0.1225, allocations: 398.9 kB / 431 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1226, allocations: 8.031 kB / 431 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.1227, allocations: 24.83 kB / 431.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.123, allocations: 212.2 kB / 431.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.123, allocations: 4.375 kB / 431.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.123, allocations: 4.375 kB / 431.3 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.1234, allocations: 147 kB / 431.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1234, allocations: 0 / 431.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1234, allocations: 0 / 431.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1234, allocations: 0 / 431.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.239e-05/0.1235, allocations: 31.86 kB / 431.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.1238, allocations: 291.4 kB / 431.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.124, allocations: 94.36 kB / 431.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.573e-05/0.1241, allocations: 47.48 kB / 431.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1241, allocations: 3.984 kB / 431.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1241, allocations: 38.55 kB / 431.9 MB, free: 224 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1241, allocations: 3.938 kB / 431.9 MB, free: 220 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003067/0.1244, allocations: 101.5 kB / 432 MB, free: 112 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2062/0.3307, allocations: 136.5 kB / 432.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3309, allocations: 147.5 kB / 432.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3309, allocations: 26.95 kB / 432.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.3309, allocations: 93.61 kB / 432.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.331, allocations: 4.453 kB / 432.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.331, allocations: 20.88 kB / 432.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.3311, allocations: 323.5 kB / 432.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.3312, allocations: 12.06 kB / 432.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.3312, allocations: 49.78 kB / 432.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.3314, allocations: 72.27 kB / 432.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3314, allocations: 1.891 kB / 432.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001937/0.3315, allocations: 84.89 kB / 433 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3316, allocations: 5.5 kB / 433 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3316, allocations: 2.406 kB / 433 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.3316, allocations: 5.641 kB / 433 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.3317, allocations: 14.64 kB / 433 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3317, allocations: 3.188 kB / 433 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.3318, allocations: 6.797 kB / 433 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3318, allocations: 4.703 kB / 433 MB, free: 10.73 MB / 350.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.588e-05/0.3318, allocations: 125.8 kB / 433.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.332, allocations: 65.34 kB / 433.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.332, allocations: 19.09 kB / 433.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.332, allocations: 2.062 kB / 433.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.332, allocations: 1.703 kB / 433.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.332, allocations: 3.219 kB / 433.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.3322, allocations: 176.5 kB / 433.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3322, allocations: 5.172 kB / 433.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.3323, allocations: 16.25 kB / 433.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3323, allocations: 1.344 kB / 433.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3323, allocations: 6.234 kB / 433.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3323, allocations: 2.609 kB / 433.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3323, allocations: 1.125 kB / 433.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.3325, allocations: 198 kB / 433.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.3325, allocations: 101.5 kB / 433.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3325, allocations: 6.25 kB / 433.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.3326, allocations: 4.422 kB / 433.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.3327, allocations: 4.766 kB / 433.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.3327, allocations: 2.625 kB / 433.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.609e-05/0.3327, allocations: 123 kB / 433.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3327, allocations: 0 / 433.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.333, allocations: 9.125 kB / 433.9 MB, free: 10.04 MB / 350.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.0001042/0.3331, allocations: 103.5 kB / 434 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.3333, allocations: 46.19 kB / 434 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3333, allocations: 0.8125 kB / 434 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.3333, allocations: 8.812 kB / 434 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.3337, allocations: 48.09 kB / 434.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.3341, allocations: 233.8 kB / 434.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.3342, allocations: 0.6971 MB / 435 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.3343, allocations: 16.19 kB / 435 MB, free: 9.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3343, allocations: 0 / 435 MB, free: 9.07 MB / 350.1 MB Notification: Performance of Templates: time 0.002638/0.3369, allocations: 1.043 MB / 436.1 MB, free: 9.035 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.865779493935406]