Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001443/0.001443, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001564/0.001564, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.89 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 53.4 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003543/0.3224, allocations: 1.689 MB / 433.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005426/0.3229, allocations: 167.4 kB / 433.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.323, allocations: 0 / 433.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.307e-05/0.3231, allocations: 7.875 kB / 433.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.3232, allocations: 15.92 kB / 433.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.3235, allocations: 54.83 kB / 433.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.3236, allocations: 55.84 kB / 433.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3238, allocations: 19.97 kB / 433.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.3238, allocations: 19.94 kB / 433.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.3239, allocations: 31.72 kB / 433.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.3239, allocations: 8 kB / 433.7 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.3239, allocations: 4 kB / 433.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.324, allocations: 11.94 kB / 433.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.324, allocations: 27.86 kB / 433.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.3242, allocations: 73.84 kB / 433.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3242, allocations: 0 / 433.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3242, allocations: 7.938 kB / 433.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3242, allocations: 0 / 433.8 MB, free: 4.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005933/0.3248, allocations: 310 kB / 434.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3248, allocations: 15.97 kB / 434.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.3249, allocations: 12.89 kB / 434.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.3252, allocations: 142.3 kB / 434.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3252, allocations: 4.375 kB / 434.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.3252, allocations: 8.375 kB / 434.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.3256, allocations: 170.2 kB / 434.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3256, allocations: 192 / 434.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.3256, allocations: 3.938 kB / 434.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3257, allocations: 4 kB / 434.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.3258, allocations: 39.91 kB / 434.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.3262, allocations: 301.6 kB / 434.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.3266, allocations: 111.8 kB / 434.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.3267, allocations: 58.62 kB / 435 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.3267, allocations: 3.984 kB / 435 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.3268, allocations: 34.56 kB / 435 MB, free: 2.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3268, allocations: 0 / 435 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003744/0.3271, allocations: 121.7 kB / 435.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.3272, allocations: 114.8 kB / 435.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.3274, allocations: 136.3 kB / 435.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3274, allocations: 29.7 kB / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/0.3275, allocations: 96.12 kB / 435.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3275, allocations: 3.953 kB / 435.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.3275, allocations: 29.67 kB / 435.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3277, allocations: 314.8 kB / 435.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/0.3278, allocations: 19.98 kB / 435.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.3279, allocations: 71.59 kB / 435.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.328, allocations: 91.66 kB / 436 MB, free: 1.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.328, allocations: 7.938 kB / 436 MB, free: 1.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/0.3282, allocations: 105.5 kB / 436.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3282, allocations: 8 kB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3282, allocations: 0 / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.3283, allocations: 7.984 kB / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/0.3283, allocations: 16 kB / 436.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3283, allocations: 4.312 kB / 436.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.3284, allocations: 19.88 kB / 436.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.3284, allocations: 4 kB / 436.2 MB, free: 1.684 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001304/0.3285, allocations: 130 kB / 436.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.3287, allocations: 73.62 kB / 436.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.3287, allocations: 16.72 kB / 436.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3287, allocations: 4 kB / 436.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3287, allocations: 7.922 kB / 436.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3287, allocations: 0 / 436.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.329, allocations: 125.2 kB / 436.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.329, allocations: 3.938 kB / 436.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-05/0.329, allocations: 27.92 kB / 436.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.329, allocations: 0 / 436.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3291, allocations: 4 kB / 436.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3291, allocations: 4 kB / 436.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3291, allocations: 0 / 436.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.3295, allocations: 320.2 kB / 436.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.3296, allocations: 23.94 kB / 436.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3296, allocations: 0 / 436.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.3297, allocations: 7.938 kB / 436.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.3297, allocations: 4 kB / 436.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.3297, allocations: 4 kB / 436.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.363e-05/0.3298, allocations: 111.2 kB / 437 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 0 / 437 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3301, allocations: 8 kB / 437 MB, free: 0.7539 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001226/0.3302, allocations: 99.25 kB / 437.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3304, allocations: 60.12 kB / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3304, allocations: 0.5625 kB / 437.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.3304, allocations: 15.98 kB / 437.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.3309, allocations: 53.3 kB / 437.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.3314, allocations: 187.7 kB / 437.5 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3315, allocations: 87.27 kB / 437.5 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.153e-05/0.3315, allocations: 12.64 kB / 437.6 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.3315, allocations: 15.56 kB / 437.6 MB, free: 180 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3315, allocations: 4 kB / 437.6 MB, free: 176 kB / 334.1 MB Notification: Performance of Templates: time 0.003585/0.3351, allocations: 0.7753 MB / 438.3 MB, free: 15.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.632203930988908]