Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.615/1.615, allocations: 230.6 MB / 258.3 MB, free: 8.207 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 47.92 kB / 379 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3203, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003508/0.3238, allocations: 1.89 MB / 434.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3252, allocations: 0.709 MB / 435 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.3253, allocations: 7.938 kB / 435 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.3255, allocations: 23.73 kB / 435 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.3256, allocations: 27.8 kB / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.326, allocations: 119.6 kB / 435.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.3263, allocations: 139.6 kB / 435.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3264, allocations: 45.88 kB / 435.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.3266, allocations: 63.72 kB / 435.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3267, allocations: 55.64 kB / 435.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.3268, allocations: 12 kB / 435.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.312e-05/0.3268, allocations: 20 kB / 435.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.3269, allocations: 27.91 kB / 435.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.019e-05/0.3269, allocations: 71.5 kB / 435.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.3272, allocations: 144.6 kB / 435.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3272, allocations: 0 / 435.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3272, allocations: 0 / 435.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.3272, allocations: 0 / 435.7 MB, free: 3.59 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.0006861/0.3279, allocations: 381.6 kB / 436.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.328, allocations: 8.031 kB / 436.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.3281, allocations: 28.83 kB / 436.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.3285, allocations: 198.2 kB / 436.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.3286, allocations: 12.12 kB / 436.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3286, allocations: 8 kB / 436.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006083/0.3292, allocations: 278.3 kB / 436.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3292, allocations: 0 / 436.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3292, allocations: 0 / 436.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3292, allocations: 7.984 kB / 436.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.3294, allocations: 79.83 kB / 436.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.33, allocations: 402.5 kB / 437.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.3305, allocations: 209.1 kB / 437.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.3307, allocations: 100.2 kB / 437.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.3307, allocations: 4 kB / 437.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.3307, allocations: 42.5 kB / 437.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 5.43e-06/0.3307, allocations: 3.984 kB / 437.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005807/0.3313, allocations: 217.3 kB / 437.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.3315, allocations: 196.2 kB / 437.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.3317, allocations: 183.2 kB / 438.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.3317, allocations: 25.7 kB / 438.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.3318, allocations: 116 kB / 438.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.3318, allocations: 7.984 kB / 438.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.3319, allocations: 33.67 kB / 438.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3321, allocations: 326.8 kB / 438.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.799e-05/0.3321, allocations: 23.97 kB / 438.6 MB, free: 480 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.3323, allocations: 137.4 kB / 438.7 MB, free: 292 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.3325, allocations: 161.6 kB / 438.9 MB, free: 80 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3325, allocations: 4 kB / 438.9 MB, free: 76 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000311/0.3328, allocations: 166.1 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3328, allocations: 7.938 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3329, allocations: 8 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.3329, allocations: 7.984 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.333, allocations: 39.86 kB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.333, allocations: 11.92 kB / 439.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.3331, allocations: 12 kB / 439.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3331, allocations: 8 kB / 439.1 MB, free: 15.81 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.0001389/0.3333, allocations: 137.7 kB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/0.3335, allocations: 149.4 kB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.3336, allocations: 21.39 kB / 439.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3336, allocations: 4 kB / 439.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3336, allocations: 0 / 439.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3336, allocations: 4 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.3339, allocations: 192.6 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3339, allocations: 0 / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.3341, allocations: 35.92 kB / 439.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3341, allocations: 3.938 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.3341, allocations: 12.03 kB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.3341, allocations: 7.984 kB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3341, allocations: 0 / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.3345, allocations: 349.2 kB / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.3346, allocations: 35.88 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.3347, allocations: 11.94 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3348, allocations: 11.98 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.3348, allocations: 4 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3348, allocations: 8 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.335, allocations: 136.4 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.335, allocations: 0 / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.3353, allocations: 24 kB / 440.2 MB, free: 14.6 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.0001372/0.3354, allocations: 99.19 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.3357, allocations: 112.5 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.3358, allocations: 4 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.3358, allocations: 12.12 kB / 440.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.3365, allocations: 100.2 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.3375, allocations: 400.7 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.3379, allocations: 0.7164 MB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.338, allocations: 23.42 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.338, allocations: 4 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Templates: time 0.004363/0.3423, allocations: 1.798 MB / 443.5 MB, free: 11.28 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.226319713052362]