Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 192.2 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] 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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 51.92 kB / 369.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2995, allocations: 52.14 MB / 421.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003124/0.3027, allocations: 1.499 MB / 422.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000904/0.3036, allocations: 445 kB / 423.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.3036, allocations: 0 / 423.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.3037, allocations: 3.938 kB / 423.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.3038, allocations: 11.81 kB / 423.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.304, allocations: 34.83 kB / 423.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.3041, allocations: 39.8 kB / 423.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3042, allocations: 8 kB / 423.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.176e-05/0.3043, allocations: 23.91 kB / 423.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.3044, allocations: 15.92 kB / 423.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3044, allocations: 8 kB / 423.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-06/0.3044, allocations: 0 / 423.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.3044, allocations: 4 kB / 423.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.3045, allocations: 23.81 kB / 423.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.3046, allocations: 33.42 kB / 423.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3046, allocations: 3.938 kB / 423.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3046, allocations: 0 / 423.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3046, allocations: 0 / 423.4 MB, free: 13.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005098/0.3051, allocations: 355 kB / 423.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3052, allocations: 12.03 kB / 423.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.3052, allocations: 8.891 kB / 423.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.3055, allocations: 180.3 kB / 424 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3055, allocations: 4.375 kB / 424 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.3055, allocations: 4.375 kB / 424 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.3059, allocations: 119.5 kB / 424.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.3059, allocations: 0 / 424.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.3059, allocations: 0 / 424.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3059, allocations: 0 / 424.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.899e-05/0.306, allocations: 19.98 kB / 424.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.3062, allocations: 157.7 kB / 424.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.3064, allocations: 62.55 kB / 424.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.3064, allocations: 32.84 kB / 424.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3065, allocations: 0 / 424.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3065, allocations: 34.5 kB / 424.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.3065, allocations: 0 / 424.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002739/0.3068, allocations: 73.62 kB / 424.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.3068, allocations: 55.41 kB / 424.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3069, allocations: 121.8 kB / 424.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.307, allocations: 25.7 kB / 424.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.307, allocations: 92.08 kB / 424.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.307, allocations: 0 / 424.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.3071, allocations: 17.72 kB / 424.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3072, allocations: 314.8 kB / 425.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.3072, allocations: 8 kB / 425.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.3073, allocations: 27.44 kB / 425.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.902e-05/0.3073, allocations: 31.38 kB / 425.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3073, allocations: 0 / 425.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.553e-05/0.3074, allocations: 61.66 kB / 425.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3074, allocations: 11.94 kB / 425.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3074, allocations: 0 / 425.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3074, allocations: 3.938 kB / 425.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.746e-05/0.3075, allocations: 8 kB / 425.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3075, allocations: 7.922 kB / 425.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.3075, allocations: 4 kB / 425.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.3075, allocations: 0 / 425.2 MB, free: 10.95 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.000102/0.3076, allocations: 117.8 kB / 425.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.3078, allocations: 69.67 kB / 425.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.3078, allocations: 7.891 kB / 425.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3078, allocations: 0 / 425.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3078, allocations: 0 / 425.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3078, allocations: 0 / 425.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.3079, allocations: 165.7 kB / 425.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3079, allocations: 0 / 425.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.308, allocations: 4 kB / 425.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.308, allocations: 7.938 kB / 425.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.308, allocations: 0 / 425.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.308, allocations: 7.938 kB / 425.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.308, allocations: 0 / 425.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.3082, allocations: 85.06 kB / 425.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.3082, allocations: 89.03 kB / 425.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.3082, allocations: 4 kB / 425.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.509e-05/0.3083, allocations: 4 kB / 425.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-06/0.3083, allocations: 0 / 425.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3083, allocations: 4.375 kB / 425.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.008e-05/0.3084, allocations: 95.58 kB / 425.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3084, allocations: 0 / 425.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001844/0.3085, allocations: 4 kB / 425.9 MB, free: 10.19 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001229/0.3087, allocations: 96.05 kB / 426 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.3088, allocations: 27.92 kB / 426 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3088, allocations: 256 / 426 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3088, allocations: 4 kB / 426 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.309, allocations: 31.89 kB / 426.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.3094, allocations: 168.3 kB / 426.2 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3098, allocations: 0.6883 MB / 426.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.3098, allocations: 7.438 kB / 426.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3098, allocations: 3.938 kB / 426.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of Templates: time 0.002207/0.312, allocations: 0.586 MB / 427.5 MB, free: 8.516 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches