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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 96.02 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.002081/0.002081, allocations: 183.3 kB / 24.45 MB, free: 3.977 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.431/1.431, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.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.001677/0.001677, allocations: 47.92 kB / 371.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2853, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002973/0.2882, allocations: 1.515 MB / 425.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007886/0.289, allocations: 399 kB / 425.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.2891, allocations: 0 / 425.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.2891, allocations: 7.938 kB / 425.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.2892, allocations: 3.938 kB / 425.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.2895, allocations: 35.91 kB / 425.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.2896, allocations: 31.86 kB / 425.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2897, allocations: 11.98 kB / 425.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.591e-05/0.2898, allocations: 15.94 kB / 425.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.2899, allocations: 15.91 kB / 425.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2899, allocations: 4 kB / 425.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.2899, allocations: 4 kB / 425.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.2899, allocations: 11.92 kB / 425.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.2899, allocations: 15.94 kB / 425.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.2901, allocations: 38.78 kB / 425.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.2901, allocations: 4 kB / 425.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.2901, allocations: 0 / 425.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.2901, allocations: 0 / 425.9 MB, free: 12.39 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.0004777/0.2906, allocations: 269.9 kB / 426.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2906, allocations: 8.031 kB / 426.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.2906, allocations: 12.88 kB / 426.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.2909, allocations: 126.4 kB / 426.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-06/0.2909, allocations: 8.375 kB / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2909, allocations: 4.359 kB / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.2912, allocations: 111.6 kB / 426.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2912, allocations: 0 / 426.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.2913, allocations: 0 / 426.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2913, allocations: 0 / 426.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.048e-05/0.2914, allocations: 31.84 kB / 426.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.2915, allocations: 105.3 kB / 426.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.2916, allocations: 58.55 kB / 426.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.2917, allocations: 24.92 kB / 426.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2917, allocations: 0 / 426.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2918, allocations: 30.56 kB / 426.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.146e-06/0.2918, allocations: 3.984 kB / 426.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002533/0.292, allocations: 89.48 kB / 426.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.2921, allocations: 59.41 kB / 426.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/0.2922, allocations: 105.8 kB / 426.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2922, allocations: 29.7 kB / 427 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.2922, allocations: 84.14 kB / 427.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.081e-06/0.2922, allocations: 0 / 427.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.2923, allocations: 21.7 kB / 427.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2924, allocations: 310.8 kB / 427.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.2924, allocations: 8 kB / 427.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.2925, allocations: 23.44 kB / 427.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.121e-05/0.2925, allocations: 47.3 kB / 427.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2925, allocations: 4 kB / 427.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.515e-05/0.2926, allocations: 53.58 kB / 427.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2926, allocations: 11.98 kB / 427.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2926, allocations: 3.938 kB / 427.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2926, allocations: 0 / 427.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.323e-05/0.2927, allocations: 8 kB / 427.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2927, allocations: 128 / 427.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.2927, allocations: 4 kB / 427.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2927, allocations: 8 kB / 427.6 MB, free: 10.56 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 8.278e-05/0.2928, allocations: 109.8 kB / 427.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.2929, allocations: 69.56 kB / 427.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.293, allocations: 11.94 kB / 427.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.293, allocations: 0 / 427.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.293, allocations: 0 / 427.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.293, allocations: 384 / 427.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.82e-05/0.2931, allocations: 105.3 kB / 427.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2931, allocations: 4 kB / 427.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.2931, allocations: 7.984 kB / 427.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2931, allocations: 3.938 kB / 427.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2931, allocations: 8 kB / 427.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.2931, allocations: 3.938 kB / 427.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2931, allocations: 0 / 427.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.2933, allocations: 93 kB / 428 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.2933, allocations: 0 / 428 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.2933, allocations: 0 / 428 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.2934, allocations: 15.92 kB / 428 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.2934, allocations: 4 kB / 428 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2934, allocations: 0 / 428 MB, free: 10.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.525e-05/0.2934, allocations: 83.28 kB / 428.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2934, allocations: 0 / 428.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001913/0.2936, allocations: 8 kB / 428.1 MB, free: 9.969 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.000116/0.2937, allocations: 99.23 kB / 428.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.2939, allocations: 27.92 kB / 428.2 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2939, allocations: 0 / 428.2 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.2939, allocations: 256 / 428.2 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2941, allocations: 35.17 kB / 428.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.2944, allocations: 164.6 kB / 428.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.224e-05/0.2945, allocations: 67.2 kB / 428.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.2945, allocations: 7.438 kB / 428.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2945, allocations: 0 / 428.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of Templates: time 0.002073/0.2966, allocations: 0.6095 MB / 429.1 MB, free: 8.91 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 [Calling sys.exit(0), Time elapsed: 6.731875471770763]