Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008449/0.0008449, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003582/0.003582, allocations: 145.1 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8146/0.8146, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.092e-05, allocations: 3.688 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.001757/0.001778, allocations: 1.609 MB / 321.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005846/0.002362, allocations: 494.6 kB / 321.8 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.002438, allocations: 7.938 kB / 321.8 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.002481, allocations: 7.875 kB / 321.8 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.002614, allocations: 19.8 kB / 321.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.002841, allocations: 55.75 kB / 321.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.002941, allocations: 63.72 kB / 321.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.452e-05/0.003036, allocations: 11.98 kB / 322 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.003108, allocations: 39.89 kB / 322 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.003158, allocations: 15.92 kB / 322 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.003182, allocations: 4 kB / 322 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.003193, allocations: 4 kB / 322 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.003241, allocations: 19.91 kB / 322 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.003265, allocations: 19.94 kB / 322.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.003376, allocations: 71.66 kB / 322.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003378, allocations: 0 / 322.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003379, allocations: 0 / 322.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.003383, allocations: 0 / 322.1 MB, free: 3.387 MB / 282.7 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.0006079/0.003991, allocations: 317.8 kB / 322.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.004022, allocations: 12.03 kB / 322.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.004052, allocations: 8.891 kB / 322.5 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.004229, allocations: 153.5 kB / 322.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.004237, allocations: 4.375 kB / 322.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.004246, allocations: 384 / 322.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.004471, allocations: 143.2 kB / 322.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.004478, allocations: 192 / 322.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.004486, allocations: 384 / 322.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004491, allocations: 3.938 kB / 322.8 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.133e-05/0.004543, allocations: 31.92 kB / 322.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.005017, allocations: 223.2 kB / 323 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.528e-05/0.005103, allocations: 98.36 kB / 323.1 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.005148, allocations: 43.48 kB / 323.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.005168, allocations: 4 kB / 323.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.005186, allocations: 42.44 kB / 323.2 MB, free: 2.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.005187, allocations: 3.938 kB / 323.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001906/0.005377, allocations: 101.5 kB / 323.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.005433, allocations: 140.5 kB / 323.4 MB, free: 1.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.005522, allocations: 145 kB / 323.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005533, allocations: 29.7 kB / 323.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.005577, allocations: 92.09 kB / 323.7 MB, free: 1.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.00559, allocations: 7.938 kB / 323.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.005613, allocations: 14.22 kB / 323.7 MB, free: 1.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.00568, allocations: 318.8 kB / 324 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.005699, allocations: 12 kB / 324 MB, free: 1.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.005715, allocations: 7.984 kB / 324 MB, free: 1.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.005751, allocations: 20.84 kB / 324.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005753, allocations: 0 / 324.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.015e-05/0.005813, allocations: 57.52 kB / 324.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.005823, allocations: 4 kB / 324.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005827, allocations: 0 / 324.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.005837, allocations: 4.094 kB / 324.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.005888, allocations: 4 kB / 324.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.005893, allocations: 7.969 kB / 324.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.005909, allocations: 0 / 324.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.005915, allocations: 4 kB / 324.1 MB, free: 1.113 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.568e-05/0.00597, allocations: 117.8 kB / 324.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.006022, allocations: 65.52 kB / 324.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.006047, allocations: 15.95 kB / 324.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.006049, allocations: 8.094 kB / 324.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.006053, allocations: 0 / 324.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.006055, allocations: 0 / 324.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.856e-05/0.006143, allocations: 121.3 kB / 324.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.006146, allocations: 3.984 kB / 324.5 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.006177, allocations: 12 kB / 324.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.006178, allocations: 0 / 324.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.006187, allocations: 15.94 kB / 324.5 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.006189, allocations: 7.922 kB / 324.5 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.006191, allocations: 3.984 kB / 324.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.006298, allocations: 198 kB / 324.7 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.006328, allocations: 23.88 kB / 324.7 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.006339, allocations: 3.938 kB / 324.7 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.006375, allocations: 4 kB / 324.7 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.006398, allocations: 0 / 324.7 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006402, allocations: 4 kB / 324.7 MB, free: 456 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.604e-05/0.006458, allocations: 115.2 kB / 324.8 MB, free: 340 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006458, allocations: 0 / 324.8 MB, free: 340 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.00015/0.006608, allocations: 7.938 kB / 324.9 MB, free: 332 kB / 282.7 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 5.929e-05/0.006667, allocations: 99.95 kB / 325 MB, free: 224 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.194e-05/0.006749, allocations: 31.97 kB / 325 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.00675, allocations: 0 / 325 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/0.006769, allocations: 11.94 kB / 325 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.007015, allocations: 39.95 kB / 325 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.007282, allocations: 229.2 kB / 325.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.37e-05/0.007335, allocations: 86.77 kB / 325.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.007359, allocations: 16.5 kB / 325.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.007359, allocations: 0 / 325.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of Templates: time 0.001545/0.008904, allocations: 0.9873 MB / 326.3 MB, free: 14.78 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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: 3.78910765144974]