Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001171/0.001171, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002013/0.003184, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001142/0.001142, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002351, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9245/0.9245, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09104/1.016, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] 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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.646e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002081/0.002107, allocations: 1.599 MB / 246.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005427/0.00265, allocations: 487.3 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.0027, allocations: 0 / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.002722, allocations: 3.938 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.26e-05/0.002754, allocations: 4 kB / 247.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.002906, allocations: 35.78 kB / 247.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.416e-05/0.00299, allocations: 39.86 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.575e-05/0.003066, allocations: 11.98 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.003194, allocations: 39.84 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.003239, allocations: 7.984 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.003252, allocations: 0 / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.924e-05/0.003301, allocations: 12 kB / 247.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.003319, allocations: 7.938 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.003338, allocations: 8 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.003433, allocations: 31.84 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.003442, allocations: 3.984 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003443, allocations: 0 / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.003451, allocations: 4 kB / 247.5 MB, free: 11.27 MB / 250.7 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.0003047/0.003756, allocations: 256.5 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.003787, allocations: 8.625 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.003918, allocations: 98.03 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.004036, allocations: 125.6 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-06/0.004041, allocations: 384 / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.004054, allocations: 4.375 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.004206, allocations: 104.5 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5e-06/0.004211, allocations: 192 / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.004218, allocations: 4.359 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.004225, allocations: 7.922 kB / 248.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.713e-05/0.004242, allocations: 7.938 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.522e-05/0.004297, allocations: 61.05 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.004e-05/0.004347, allocations: 30.56 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.004364, allocations: 12.8 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.004376, allocations: 0 / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.004394, allocations: 34.56 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.004395, allocations: 4 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.34e-05/0.004488, allocations: 53.61 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.004524, allocations: 55.41 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.29e-05/0.004577, allocations: 118.6 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.004586, allocations: 25.7 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.92e-05/0.004605, allocations: 84.14 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-06/0.004606, allocations: 0 / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.00462, allocations: 9.719 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.004696, allocations: 326.8 kB / 248.9 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-06/0.004699, allocations: 0 / 248.9 MB, free: 9.699 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-06/0.004702, allocations: 8 kB / 248.9 MB, free: 9.691 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.819e-05/0.00472, allocations: 75.28 kB / 249 MB, free: 9.617 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/0.004737, allocations: 79.28 kB / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.247e-05/0.00477, allocations: 33.64 kB / 249.1 MB, free: 9.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.004796, allocations: 83.27 kB / 249.2 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.004817, allocations: 79.28 kB / 249.2 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.076e-05/0.004857, allocations: 154.5 kB / 249.4 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-05/0.004876, allocations: 75.28 kB / 249.5 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.265e-05/0.004909, allocations: 158.5 kB / 249.6 MB, free: 8.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.004951, allocations: 83.16 kB / 249.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.004968, allocations: 75.28 kB / 249.8 MB, free: 8.801 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 6.614e-05/0.005034, allocations: 189.1 kB / 250 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.00507, allocations: 45.62 kB / 250 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.00509, allocations: 4 kB / 250 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.005092, allocations: 4 kB / 250 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.005093, allocations: 0 / 250 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005096, allocations: 0 / 250 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.491e-05/0.005141, allocations: 69.83 kB / 250.1 MB, free: 8.461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.005143, allocations: 0 / 250.1 MB, free: 8.461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.005209, allocations: 15.98 kB / 250.1 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.005224, allocations: 3.953 kB / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.005225, allocations: 8 kB / 250.1 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-06/0.005229, allocations: 4.172 kB / 250.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.00523, allocations: 0 / 250.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005231, allocations: 0 / 250.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.534e-05/0.005266, allocations: 61.05 kB / 250.2 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-06/0.005275, allocations: 3.938 kB / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.005286, allocations: 4 kB / 250.2 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-06/0.005288, allocations: 0 / 250.2 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.005292, allocations: 0 / 250.2 MB, free: 8.344 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.631e-05/0.005308, allocations: 20.83 kB / 250.2 MB, free: 8.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.005308, allocations: 0 / 250.2 MB, free: 8.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001052/0.005413, allocations: 12 kB / 250.2 MB, free: 8.309 MB / 250.7 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 6.6e-05/0.005479, allocations: 76.3 kB / 250.3 MB, free: 8.227 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.8e-05/0.005517, allocations: 4 kB / 250.3 MB, free: 8.223 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.005521, allocations: 4 kB / 250.3 MB, free: 8.219 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.005522, allocations: 0 / 250.3 MB, free: 8.219 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.005635, allocations: 25.08 kB / 250.3 MB, free: 8.191 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/0.006269, allocations: 147.1 kB / 250.5 MB, free: 8.023 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.158e-05/0.006301, allocations: 59.36 kB / 250.5 MB, free: 7.945 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.733e-06/0.006307, allocations: 0 / 250.5 MB, free: 7.945 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.006345, allocations: 59.3 kB / 250.6 MB, free: 7.887 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.006345, allocations: 0 / 250.6 MB, free: 7.887 MB / 250.7 MB Notification: Performance of Templates: time 0.001517/0.007863, allocations: 344.4 kB / 250.9 MB, free: 7.555 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3704591523855925]