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.001876/0.001876, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.00217/0.00217, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.539/1.539, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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.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.094e-06/2.094e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.398e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003237/0.003271, allocations: 1.509 MB / 273.7 MB, free: 276 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.004331, allocations: 462.6 kB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.004414, allocations: 0 / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.004449, allocations: 7.938 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.898e-05/0.004538, allocations: 11.92 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.00486, allocations: 27.89 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.004976, allocations: 39.86 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.005085, allocations: 8 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.005259, allocations: 43.77 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.005329, allocations: 8 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.005351, allocations: 4 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.31e-05/0.005394, allocations: 7.984 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.005412, allocations: 3.938 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.005453, allocations: 8 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.005603, allocations: 43.81 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.005606, allocations: 0 / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.00561, allocations: 4 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.005617, allocations: 0 / 274.4 MB, free: 15.6 MB / 266.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.0005192/0.006136, allocations: 278.2 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.006181, allocations: 11.98 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.006365, allocations: 12.92 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.006623, allocations: 133.5 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.006638, allocations: 4.375 kB / 274.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.006647, allocations: 384 / 274.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.007016, allocations: 119.8 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.007025, allocations: 192 / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.007034, allocations: 384 / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.007041, allocations: 3.938 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-05/0.007133, allocations: 23.92 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.007309, allocations: 105.3 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.007486, allocations: 58.55 kB / 275.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.298e-05/0.007559, allocations: 28.92 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.00758, allocations: 0 / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.007614, allocations: 30.56 kB / 275.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.007614, allocations: 0 / 275.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002783/0.007893, allocations: 81.7 kB / 275.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.007964, allocations: 63.38 kB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.008087, allocations: 109.8 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.008109, allocations: 25.7 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.00819, allocations: 88.12 kB / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.008192, allocations: 0 / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.008222, allocations: 17.72 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.008411, allocations: 314.8 kB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-06/0.008415, allocations: 0 / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.008418, allocations: 0 / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.677e-05/0.008465, allocations: 79.22 kB / 275.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.54e-05/0.008511, allocations: 79.28 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.15e-05/0.008572, allocations: 33.64 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.008628, allocations: 83.28 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.715e-05/0.008675, allocations: 79.27 kB / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.683e-05/0.008772, allocations: 154.5 kB / 276.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.391e-05/0.008816, allocations: 79.28 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.453e-05/0.008901, allocations: 158.5 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-05/0.008988, allocations: 83.22 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.009032, allocations: 79.28 kB / 276.8 MB, free: 13.05 MB / 266.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 0.0001561/0.009188, allocations: 181.1 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.00933, allocations: 69.56 kB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.009366, allocations: 12 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.009368, allocations: 0 / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.009375, allocations: 3.938 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.009378, allocations: 0 / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.009486, allocations: 109.3 kB / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.009489, allocations: 0 / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.009587, allocations: 11.98 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.00959, allocations: 0 / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.009599, allocations: 0 / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.009603, allocations: 0 / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009604, allocations: 4 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.009802, allocations: 96.94 kB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.009825, allocations: 0 / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.009842, allocations: 3.984 kB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.816e-05/0.00988, allocations: 12 kB / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.009883, allocations: 0 / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.00989, allocations: 0 / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.56e-05/0.009985, allocations: 95.2 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009985, allocations: 0 / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.0102, allocations: 4 kB / 277.3 MB, free: 12.39 MB / 266.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 0.000153/0.01035, allocations: 91.25 kB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.01046, allocations: 23.98 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01046, allocations: 0 / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.01046, allocations: 4 kB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.01074, allocations: 32.92 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.01112, allocations: 127.5 kB / 277.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.454e-05/0.0112, allocations: 67.34 kB / 277.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.281e-05/0.01121, allocations: 0 / 277.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.01125, allocations: 12.48 kB / 277.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01126, allocations: 0 / 277.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of Templates: time 0.002981/0.01424, allocations: 340.1 kB / 278 MB, free: 11.65 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.285989619907923]