Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001396/0.001396, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001691/0.001691, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.528/1.528, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 47.92 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2955, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.004029/0.2995, allocations: 1.612 MB / 434 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.301, allocations: 0.5453 MB / 434.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3011, allocations: 3.938 kB / 434.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.609e-05/0.3012, allocations: 3.938 kB / 434.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.3014, allocations: 15.92 kB / 434.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.3018, allocations: 51.77 kB / 434.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3019, allocations: 47.84 kB / 434.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3021, allocations: 15.98 kB / 434.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.3022, allocations: 31.86 kB / 434.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.174e-05/0.3023, allocations: 19.86 kB / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3023, allocations: 4 kB / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.3024, allocations: 8 kB / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.3025, allocations: 19.91 kB / 434.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.3025, allocations: 27.81 kB / 434.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3028, allocations: 57 kB / 434.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3028, allocations: 0 / 434.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3028, allocations: 3.938 kB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3028, allocations: 4 kB / 434.9 MB, free: 4.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005806/0.3033, allocations: 298 kB / 435.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3034, allocations: 8.031 kB / 435.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.3036, allocations: 16.84 kB / 435.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.3039, allocations: 142.3 kB / 435.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.304, allocations: 8.375 kB / 435.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.304, allocations: 384 / 435.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.3043, allocations: 121.3 kB / 435.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3043, allocations: 0 / 435.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3043, allocations: 0 / 435.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3043, allocations: 0 / 435.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.3044, allocations: 27.92 kB / 435.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.3048, allocations: 236.8 kB / 435.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.305, allocations: 61.14 kB / 435.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.3051, allocations: 29.78 kB / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3051, allocations: 7.969 kB / 435.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.3052, allocations: 38.5 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3052, allocations: 0 / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003037/0.3055, allocations: 81.56 kB / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.3055, allocations: 77.23 kB / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3057, allocations: 148.9 kB / 436.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3057, allocations: 25.7 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.3058, allocations: 88.08 kB / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.3058, allocations: 11.95 kB / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.3059, allocations: 21.64 kB / 436.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.306, allocations: 314.8 kB / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.3061, allocations: 7.984 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.3061, allocations: 39.38 kB / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.3062, allocations: 51.3 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3062, allocations: 0 / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001578/0.3064, allocations: 77.56 kB / 436.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3064, allocations: 4 kB / 436.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3064, allocations: 288 / 436.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3064, allocations: 4 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.322e-05/0.3065, allocations: 11.98 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3065, allocations: 0 / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.3066, allocations: 4 kB / 436.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3066, allocations: 4.125 kB / 436.8 MB, free: 2.312 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.0001083/0.3067, allocations: 129.7 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.3068, allocations: 49.64 kB / 437 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.3068, allocations: 16.33 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3068, allocations: 0 / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3068, allocations: 4 kB / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3068, allocations: 0 / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.307, allocations: 140.7 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.307, allocations: 4 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.3071, allocations: 7.984 kB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3071, allocations: 8 kB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3071, allocations: 0 / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.3071, allocations: 0 / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3071, allocations: 0 / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.3073, allocations: 176.2 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.3073, allocations: 15.94 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3074, allocations: 4 kB / 437.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.3074, allocations: 4 kB / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.3075, allocations: 4 kB / 437.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3075, allocations: 0 / 437.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.224e-05/0.3076, allocations: 107.2 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3076, allocations: 3.938 kB / 437.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3078, allocations: 8 kB / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001122/0.3079, allocations: 95.19 kB / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.3081, allocations: 39.91 kB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3081, allocations: 0 / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.3081, allocations: 8 kB / 437.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3085, allocations: 27.89 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.3089, allocations: 197.7 kB / 437.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3093, allocations: 0.6924 MB / 438.5 MB, free: 448 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.3094, allocations: 11.42 kB / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3094, allocations: 4 kB / 438.5 MB, free: 432 kB / 334.1 MB Notification: Performance of Templates: time 0.002834/0.3122, allocations: 0.775 MB / 439.3 MB, free: 15.65 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.213893365114927]