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.001106/0.001106, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001307/0.001307, allocations: 161.8 kB / 24.99 MB, free: 8.77 MB / 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.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.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 1.323e-06/1.323e-06, allocations: 0 / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.016e-05, allocations: 5.125 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001899/0.00192, allocations: 1.548 MB / 274.6 MB, free: 200 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007661/0.002686, allocations: 474.7 kB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.002762, allocations: 0 / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.002792, allocations: 3.938 kB / 275 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.871e-05/0.00287, allocations: 15.86 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.003146, allocations: 31.91 kB / 275.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.938e-05/0.003235, allocations: 39.84 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.003319, allocations: 7.938 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.003437, allocations: 27.91 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.003484, allocations: 19.92 kB / 275.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.0035, allocations: 0 / 275.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.605e-05/0.003536, allocations: 11.98 kB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.00355, allocations: 4 kB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.003578, allocations: 7.938 kB / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.003688, allocations: 39.83 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.00369, allocations: 4 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00369, allocations: 0 / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.003694, allocations: 0 / 275.2 MB, free: 15.52 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.0003632/0.004058, allocations: 380.5 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.004094, allocations: 11.98 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.004206, allocations: 8.938 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.004342, allocations: 124.6 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.004351, allocations: 4.375 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.004359, allocations: 384 / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.004548, allocations: 114.2 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.004554, allocations: 192 / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.004563, allocations: 8.312 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.00457, allocations: 3.938 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.78e-05/0.004597, allocations: 7.984 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.049e-05/0.004688, allocations: 124.6 kB / 276 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.004754, allocations: 43.12 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.005073, allocations: 27.61 kB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.005087, allocations: 4 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.005104, allocations: 33.39 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.005105, allocations: 0 / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001251/0.00523, allocations: 49.69 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.00527, allocations: 59.34 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.005348, allocations: 173.9 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.005359, allocations: 29.64 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.005398, allocations: 130.9 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.005401, allocations: 0 / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.005419, allocations: 19.38 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.005529, allocations: 0.4884 MB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.005533, allocations: 0 / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-06/0.005536, allocations: 0 / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.005564, allocations: 119.2 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.512e-05/0.005589, allocations: 119.2 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.901e-05/0.005628, allocations: 37.64 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.005667, allocations: 125.8 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.532e-05/0.005703, allocations: 127.1 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.993e-05/0.005763, allocations: 242.4 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.841e-05/0.005791, allocations: 127.1 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.831e-05/0.005859, allocations: 246.3 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.005914, allocations: 123.2 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.005947, allocations: 127.1 kB / 278.4 MB, free: 12.12 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 9.812e-05/0.006045, allocations: 275.8 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.006101, allocations: 45.69 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.006122, allocations: 8 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006124, allocations: 0 / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006128, allocations: 3.938 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006131, allocations: 4 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.445e-05/0.006195, allocations: 116.6 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.006198, allocations: 3.938 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.648e-05/0.006275, allocations: 8 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.006279, allocations: 4 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.006286, allocations: 0 / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.00629, allocations: 7.922 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.006292, allocations: 0 / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.449e-05/0.006377, allocations: 88.33 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.006403, allocations: 11.94 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.006414, allocations: 0 / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.006427, allocations: 4 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-06/0.00643, allocations: 0 / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.006436, allocations: 12.27 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.592e-05/0.006482, allocations: 131.1 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006482, allocations: 0 / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001317/0.006614, allocations: 4 kB / 279.1 MB, free: 11.33 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 7.242e-05/0.006686, allocations: 99.23 kB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.234e-05/0.006739, allocations: 7.938 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.00674, allocations: 0 / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.006741, allocations: 0 / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.006902, allocations: 21.14 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.007274, allocations: 141 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.708e-05/0.007311, allocations: 63.28 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.492e-06/0.007318, allocations: 0 / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.007336, allocations: 8.5 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007337, allocations: 4 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of Templates: time 0.001821/0.009158, allocations: 337.5 kB / 279.8 MB, free: 10.6 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=240 -emit_protected -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.965085380943492]