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.HoldWithDAeffects1.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.001608/0.001608, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002103/0.002103, allocations: 212.4 kB / 24.54 MB, free: 4.016 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.545/1.545, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [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.001986/0.001986, allocations: 64.77 kB / 379 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3164, allocations: 53.37 MB / 432.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004113/0.3205, allocations: 1.898 MB / 434.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.3221, allocations: 0.709 MB / 435 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.3222, allocations: 11.88 kB / 435 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.3224, allocations: 15.8 kB / 435 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.3225, allocations: 31.78 kB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.323, allocations: 119.1 kB / 435.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.3233, allocations: 139.6 kB / 435.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.3235, allocations: 45.89 kB / 435.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.3237, allocations: 67.7 kB / 435.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.3238, allocations: 55.59 kB / 435.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.3239, allocations: 8 kB / 435.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.41e-05/0.3239, allocations: 20 kB / 435.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.789e-05/0.324, allocations: 27.91 kB / 435.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.3241, allocations: 67.55 kB / 435.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.3245, allocations: 153 kB / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3245, allocations: 0 / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3245, allocations: 0 / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3245, allocations: 0 / 435.8 MB, free: 3.625 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000867/0.3254, allocations: 385.6 kB / 436.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.3254, allocations: 8.031 kB / 436.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.3257, allocations: 28.83 kB / 436.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.3262, allocations: 190.3 kB / 436.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.3262, allocations: 8.125 kB / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.3262, allocations: 15.98 kB / 436.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.3269, allocations: 270.3 kB / 436.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3269, allocations: 0 / 436.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.3269, allocations: 4 kB / 436.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.3269, allocations: 4 kB / 436.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.3272, allocations: 83.88 kB / 436.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.3278, allocations: 390.5 kB / 437.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.3284, allocations: 216.8 kB / 437.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.3286, allocations: 104.4 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.3286, allocations: 7.984 kB / 437.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.3286, allocations: 38.5 kB / 437.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.3286, allocations: 0 / 437.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006626/0.3293, allocations: 217.3 kB / 437.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/0.3295, allocations: 204.3 kB / 437.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.3297, allocations: 175.8 kB / 438.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.3297, allocations: 29.7 kB / 438.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3299, allocations: 112 kB / 438.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.3299, allocations: 4 kB / 438.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.33, allocations: 41.66 kB / 438.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3301, allocations: 322.8 kB / 438.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.3302, allocations: 27.92 kB / 438.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3304, allocations: 133.3 kB / 438.7 MB, free: 336 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.3306, allocations: 169.6 kB / 438.9 MB, free: 116 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3306, allocations: 0 / 438.9 MB, free: 116 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003018/0.3309, allocations: 165.7 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3309, allocations: 7.938 kB / 439.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.331, allocations: 8 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.331, allocations: 7.938 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3311, allocations: 36.3 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3311, allocations: 7.984 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.634e-05/0.3312, allocations: 8 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3312, allocations: 12 kB / 439.1 MB, free: 15.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001376/0.3314, allocations: 137.6 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.3317, allocations: 153.4 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/0.3317, allocations: 21.39 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3317, allocations: 4 kB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3317, allocations: 3.938 kB / 439.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.3317, allocations: 4 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.3321, allocations: 188.6 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3321, allocations: 0 / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.3322, allocations: 39.97 kB / 439.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.3322, allocations: 3.938 kB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3322, allocations: 8.031 kB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3322, allocations: 0 / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3322, allocations: 4 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004596/0.3327, allocations: 357.1 kB / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.3327, allocations: 31.89 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.3328, allocations: 11.92 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3329, allocations: 8 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.333, allocations: 7.984 kB / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.333, allocations: 8 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.3331, allocations: 136.4 kB / 440.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3331, allocations: 0 / 440.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.3335, allocations: 24 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 17 * 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.0001701/0.3336, allocations: 103.2 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003478/0.334, allocations: 112.5 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.334, allocations: 192 / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/0.334, allocations: 12 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.3348, allocations: 108.5 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3358, allocations: 363.5 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.3363, allocations: 0.7242 MB / 441.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.314e-05/0.3364, allocations: 17.48 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.3364, allocations: 15.44 kB / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3364, allocations: 3.938 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Templates: time 0.005639/0.3421, allocations: 1.791 MB / 443.5 MB, free: 11.36 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.943952129222453]