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.00091/0.00091, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.002053, allocations: 449.7 kB / 10.37 MB, free: 324 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.0008567/0.0008567, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002319, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.04/1.04, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1106/1.151, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.154e-06/2.154e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.387e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003619/0.003653, allocations: 1.602 MB / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00092/0.004573, allocations: 483.4 kB / 247.1 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.004645, allocations: 3.938 kB / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.004679, allocations: 3.938 kB / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.004734, allocations: 7.938 kB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.004959, allocations: 31.84 kB / 247.1 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.005072, allocations: 43.8 kB / 247.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.005161, allocations: 11.97 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.00537, allocations: 35.86 kB / 247.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.005443, allocations: 15.98 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.005463, allocations: 0 / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.00554, allocations: 8 kB / 247.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.005566, allocations: 11.92 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.005595, allocations: 8 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.005749, allocations: 35.84 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.849e-05/0.005767, allocations: 0 / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.005769, allocations: 0 / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.00579, allocations: 0 / 247.3 MB, free: 11.34 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.0005547/0.006345, allocations: 256.5 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.00638, allocations: 12.62 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.006565, allocations: 90.03 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.006727, allocations: 129.6 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.006736, allocations: 384 / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.006746, allocations: 4.375 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.006956, allocations: 108.5 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.006964, allocations: 4.188 kB / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.006971, allocations: 384 / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.006976, allocations: 3.938 kB / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/0.007013, allocations: 4 kB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.038e-05/0.007083, allocations: 57.05 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.15e-05/0.007154, allocations: 38.47 kB / 248 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.007179, allocations: 12.86 kB / 248 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.007203, allocations: 0 / 248 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.007226, allocations: 42.55 kB / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.007227, allocations: 0 / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001101/0.007337, allocations: 45.69 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.007378, allocations: 55.34 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.007507, allocations: 114.7 kB / 248.3 MB, free: 10.24 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.007516, allocations: 29.64 kB / 248.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.007542, allocations: 84.14 kB / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.007544, allocations: 0 / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.007569, allocations: 13.72 kB / 248.4 MB, free: 10.1 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.007652, allocations: 326.8 kB / 248.7 MB, free: 9.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-06/0.007656, allocations: 4 kB / 248.7 MB, free: 9.766 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-06/0.007659, allocations: 0 / 248.7 MB, free: 9.766 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.172e-05/0.007681, allocations: 75.28 kB / 248.8 MB, free: 9.691 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.965e-05/0.0077, allocations: 79.28 kB / 248.9 MB, free: 9.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.892e-05/0.007749, allocations: 33.64 kB / 248.9 MB, free: 9.574 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.00778, allocations: 79.28 kB / 249 MB, free: 9.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.007801, allocations: 75.28 kB / 249 MB, free: 9.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.58e-05/0.007846, allocations: 154.6 kB / 249.2 MB, free: 9.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.483e-05/0.007871, allocations: 87.2 kB / 249.3 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.455e-05/0.007906, allocations: 150.6 kB / 249.4 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.007964, allocations: 87.16 kB / 249.5 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.007982, allocations: 75.28 kB / 249.6 MB, free: 8.875 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 7.232e-05/0.008054, allocations: 185.1 kB / 249.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.008115, allocations: 45.69 kB / 249.8 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.008138, allocations: 4 kB / 249.8 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.00814, allocations: 0 / 249.8 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.008143, allocations: 4 kB / 249.8 MB, free: 8.629 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.008145, allocations: 0 / 249.8 MB, free: 8.629 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.957e-05/0.008205, allocations: 81.75 kB / 249.9 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.008208, allocations: 0 / 249.9 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.098e-05/0.008289, allocations: 11.98 kB / 249.9 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.008311, allocations: 3.953 kB / 249.9 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.008314, allocations: 0 / 249.9 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.008318, allocations: 4 kB / 249.9 MB, free: 8.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.00832, allocations: 4 kB / 249.9 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008321, allocations: 0 / 249.9 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.493e-05/0.008366, allocations: 57.06 kB / 250 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.008376, allocations: 0 / 250 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.008393, allocations: 4 kB / 250 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.008395, allocations: 0 / 250 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.008399, allocations: 3.938 kB / 250 MB, free: 8.426 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.008551, allocations: 20.84 kB / 250 MB, free: 8.402 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008551, allocations: 3.938 kB / 250 MB, free: 8.398 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.00871, allocations: 0 / 250 MB, free: 8.398 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 9.865e-05/0.008809, allocations: 80.42 kB / 250.1 MB, free: 8.309 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.248e-05/0.008851, allocations: 4.234 kB / 250.1 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.008854, allocations: 0 / 250.1 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.91e-07/0.008854, allocations: 4 kB / 250.1 MB, free: 8.301 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.008976, allocations: 24.44 kB / 250.1 MB, free: 8.277 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.009744, allocations: 151.2 kB / 250.3 MB, free: 8.105 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.287e-05/0.009776, allocations: 55.36 kB / 250.3 MB, free: 8.031 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.427e-06/0.009786, allocations: 4 kB / 250.3 MB, free: 8.027 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.00982, allocations: 55.36 kB / 250.4 MB, free: 7.973 MB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.009821, allocations: 0 / 250.4 MB, free: 7.973 MB / 250.7 MB Notification: Performance of Templates: time 0.002329/0.01215, allocations: 347.2 kB / 250.7 MB, free: 7.633 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.552157672122121]