Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001365/0.001365, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001549/0.001549, allocations: 185.8 kB / 24.45 MB, free: 3.961 MB / 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.546/1.546, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 43.94 kB / 371.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2723, allocations: 52.18 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003035/0.2754, allocations: 1.588 MB / 425.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.2764, allocations: 442.9 kB / 425.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.2765, allocations: 0 / 425.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.287e-05/0.2766, allocations: 7.922 kB / 425.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.2767, allocations: 11.88 kB / 425.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.277, allocations: 43.89 kB / 425.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.2771, allocations: 47.78 kB / 426 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.2773, allocations: 7.984 kB / 426 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.2774, allocations: 23.92 kB / 426 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.2774, allocations: 19.92 kB / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.2775, allocations: 0 / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.906e-05/0.2775, allocations: 4 kB / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.2776, allocations: 15.92 kB / 426 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.2776, allocations: 23.86 kB / 426 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.2778, allocations: 58.3 kB / 426.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2778, allocations: 0 / 426.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.2778, allocations: 0 / 426.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.2778, allocations: 0 / 426.1 MB, free: 12.17 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.0006684/0.2785, allocations: 310 kB / 426.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.2786, allocations: 8.031 kB / 426.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.2786, allocations: 8.891 kB / 426.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.2789, allocations: 130.4 kB / 426.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.279, allocations: 8.375 kB / 426.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.279, allocations: 384 / 426.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.2794, allocations: 133.2 kB / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.2794, allocations: 0 / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2794, allocations: 3.938 kB / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2794, allocations: 0 / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.844e-05/0.2795, allocations: 19.98 kB / 426.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.2798, allocations: 213.4 kB / 426.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.28, allocations: 61.14 kB / 427 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.2801, allocations: 29.77 kB / 427 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.2801, allocations: 4 kB / 427 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.2802, allocations: 38.5 kB / 427.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2802, allocations: 0 / 427.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003166/0.2805, allocations: 77.56 kB / 427.1 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.2806, allocations: 89.09 kB / 427.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.2807, allocations: 137.1 kB / 427.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.2807, allocations: 25.7 kB / 427.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.2808, allocations: 84.14 kB / 427.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.2808, allocations: 7.953 kB / 427.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.2808, allocations: 25.83 kB / 427.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.281, allocations: 310.8 kB / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.281, allocations: 15.98 kB / 427.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.282e-05/0.2811, allocations: 31.42 kB / 427.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.2812, allocations: 47.36 kB / 427.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2812, allocations: 7.938 kB / 427.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001406/0.2813, allocations: 65.58 kB / 428 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2813, allocations: 11.94 kB / 428 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2813, allocations: 4 kB / 428 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2814, allocations: 0 / 428 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-05/0.2814, allocations: 11.98 kB / 428 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2814, allocations: 4 kB / 428 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.2815, allocations: 0 / 428 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.2815, allocations: 4 kB / 428 MB, free: 10.05 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 9.466e-05/0.2816, allocations: 125.9 kB / 428.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.705e-05/0.2817, allocations: 49.88 kB / 428.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.2817, allocations: 16.38 kB / 428.2 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2817, allocations: 3.984 kB / 428.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2817, allocations: 0 / 428.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2817, allocations: 0 / 428.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.2819, allocations: 125.2 kB / 428.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.2819, allocations: 3.938 kB / 428.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.2819, allocations: 11.98 kB / 428.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2819, allocations: 3.938 kB / 428.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2819, allocations: 4 kB / 428.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2819, allocations: 0 / 428.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2819, allocations: 4 kB / 428.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.2822, allocations: 168.3 kB / 428.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.2822, allocations: 19.88 kB / 428.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.2822, allocations: 4 kB / 428.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.2823, allocations: 0 / 428.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.2823, allocations: 3.984 kB / 428.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2823, allocations: 4 kB / 428.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.557e-05/0.2824, allocations: 103.3 kB / 428.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2824, allocations: 4 kB / 428.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000238/0.2826, allocations: 8 kB / 428.6 MB, free: 9.332 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 9.8e-05/0.2827, allocations: 95.25 kB / 428.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.2829, allocations: 35.91 kB / 428.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2829, allocations: 0 / 428.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.591e-05/0.2829, allocations: 4 kB / 428.8 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.2833, allocations: 31.27 kB / 428.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.2837, allocations: 197.4 kB / 429 MB, free: 8.938 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.986e-05/0.2838, allocations: 87.17 kB / 429.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.2838, allocations: 11.44 kB / 429.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2838, allocations: 0 / 429.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of Templates: time 0.002371/0.2862, allocations: 0.7631 MB / 429.9 MB, free: 8.059 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.186355088837445]