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.001603/0.001603, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001893/0.001893, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 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 1.61/1.61, allocations: 225.6 MB / 250.8 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001745/0.001745, allocations: 55.91 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3454, allocations: 52.14 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003684/0.349, allocations: 1.642 MB / 422.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3503, allocations: 0.5181 MB / 423 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.3504, allocations: 4 kB / 423 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.678e-05/0.3505, allocations: 11.86 kB / 423.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.3508, allocations: 11.88 kB / 423.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.3512, allocations: 51.81 kB / 423.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.3513, allocations: 59.78 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3515, allocations: 15.98 kB / 423.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3516, allocations: 39.78 kB / 423.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.3517, allocations: 23.86 kB / 423.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3517, allocations: 4 kB / 423.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.3517, allocations: 4 kB / 423.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.3518, allocations: 15.92 kB / 423.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.3518, allocations: 31.75 kB / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.352, allocations: 64.94 kB / 423.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.352, allocations: 0 / 423.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.352, allocations: 0 / 423.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.3521, allocations: 4 kB / 423.4 MB, free: 12.57 MB / 334.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.0006356/0.3527, allocations: 394.9 kB / 423.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.3527, allocations: 15.89 kB / 423.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.3528, allocations: 12.83 kB / 423.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.3532, allocations: 212.1 kB / 424 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3532, allocations: 4.375 kB / 424 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.3532, allocations: 4.375 kB / 424 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.3536, allocations: 143 kB / 424.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3536, allocations: 0 / 424.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3536, allocations: 4 kB / 424.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3536, allocations: 0 / 424.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.916e-05/0.3537, allocations: 31.92 kB / 424.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.3541, allocations: 287.5 kB / 424.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.3543, allocations: 90.42 kB / 424.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.3544, allocations: 51.42 kB / 424.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3544, allocations: 3.938 kB / 424.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.3544, allocations: 42.55 kB / 424.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3544, allocations: 0 / 424.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003202/0.3547, allocations: 97.5 kB / 424.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.3549, allocations: 137 kB / 424.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.355, allocations: 149.9 kB / 425 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3551, allocations: 29.7 kB / 425 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.3551, allocations: 96.06 kB / 425.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.3551, allocations: 11.89 kB / 425.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.3552, allocations: 17.72 kB / 425.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3553, allocations: 326.8 kB / 425.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.3554, allocations: 7.938 kB / 425.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.187e-05/0.3554, allocations: 53.14 kB / 425.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3555, allocations: 65.08 kB / 425.6 MB, free: 10 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3555, allocations: 0 / 425.6 MB, free: 10 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001619/0.3557, allocations: 85.5 kB / 425.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3557, allocations: 4 kB / 425.7 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3557, allocations: 4 kB / 425.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3557, allocations: 8.172 kB / 425.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.3558, allocations: 15.94 kB / 425.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3558, allocations: 3.984 kB / 425.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.3559, allocations: 7.984 kB / 425.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3559, allocations: 8 kB / 425.7 MB, free: 9.859 MB / 334.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.0001117/0.356, allocations: 121.7 kB / 425.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3561, allocations: 73.53 kB / 425.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.3562, allocations: 15.97 kB / 426 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3562, allocations: 0 / 426 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.3562, allocations: 3.984 kB / 426 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3562, allocations: 4 kB / 426 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.3564, allocations: 173.6 kB / 426.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3564, allocations: 0 / 426.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.3565, allocations: 19.92 kB / 426.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3565, allocations: 3.984 kB / 426.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3565, allocations: 0 / 426.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.3565, allocations: 4 kB / 426.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3565, allocations: 0 / 426.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.3567, allocations: 202.2 kB / 426.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.3568, allocations: 97.05 kB / 426.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3568, allocations: 4 kB / 426.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.3569, allocations: 7.938 kB / 426.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.3569, allocations: 8 kB / 426.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.3569, allocations: 4 kB / 426.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.357, allocations: 118 kB / 426.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.357, allocations: 0 / 426.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.3573, allocations: 4 kB / 426.6 MB, free: 8.902 MB / 334.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.0001365/0.3574, allocations: 111.2 kB / 426.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.3576, allocations: 43.92 kB / 426.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3576, allocations: 3.938 kB / 426.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.3576, allocations: 11.92 kB / 426.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.358, allocations: 42.94 kB / 426.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.3585, allocations: 214.2 kB / 427 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3589, allocations: 0.6961 MB / 427.7 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.172e-05/0.3589, allocations: 8.656 kB / 427.7 MB, free: 7.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.359, allocations: 15.44 kB / 427.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of SimCode: time 1.262e-06/0.359, allocations: 0 / 427.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of Templates: time 0.004185/0.3632, allocations: 0.8618 MB / 428.6 MB, free: 6.852 MB / 334.1 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: 4.903580462560058]