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.001246/0.001246, allocations: 81.91 kB / 21.42 MB, free: 3.066 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.001194/0.001194, allocations: 162 kB / 24.82 MB, free: 9.312 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.072/1.072, allocations: 177 MB / 205.1 MB, free: 5.477 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.523e-06/1.523e-06, allocations: 0 / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.307e-05, allocations: 5.266 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002462/0.002485, allocations: 1.552 MB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007273/0.003212, allocations: 470.7 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.003287, allocations: 7.938 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.003315, allocations: 0 / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.324e-05/0.003388, allocations: 11.88 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.003641, allocations: 27.91 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.003727, allocations: 43.78 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.954e-05/0.003807, allocations: 15.92 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.003934, allocations: 19.98 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.003979, allocations: 15.92 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.003994, allocations: 7.938 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.571e-05/0.00403, allocations: 7.984 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.004045, allocations: 11.98 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.004066, allocations: 7.938 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.822e-05/0.004164, allocations: 35.89 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004166, allocations: 0 / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004167, allocations: 0 / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.00417, allocations: 0 / 275.6 MB, free: 14.97 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.0003337/0.004504, allocations: 376.5 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.004543, allocations: 11.98 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.004651, allocations: 12.92 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.004781, allocations: 128.6 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.004791, allocations: 8.312 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.004797, allocations: 384 / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.00497, allocations: 106.2 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004976, allocations: 4.188 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.004983, allocations: 4.375 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.00499, allocations: 3.938 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.005009, allocations: 4 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.802e-05/0.005098, allocations: 105.2 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.877e-05/0.005156, allocations: 43.02 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.005182, allocations: 15.69 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.005199, allocations: 0 / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.005221, allocations: 37.39 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.005222, allocations: 0 / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001191/0.005341, allocations: 53.72 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.005374, allocations: 55.34 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.005456, allocations: 173.8 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.005466, allocations: 29.7 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.005509, allocations: 134.9 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.00551, allocations: 0 / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.005535, allocations: 19.38 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.005661, allocations: 496.1 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-06/0.005664, allocations: 0 / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.005669, allocations: 0 / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.005699, allocations: 119.2 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.241e-05/0.005732, allocations: 123.2 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.478e-05/0.005787, allocations: 33.84 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.005829, allocations: 129.8 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/0.005862, allocations: 123.1 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-05/0.00593, allocations: 250.4 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.338e-05/0.005964, allocations: 123.1 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.717e-05/0.006021, allocations: 242.4 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.006092, allocations: 131.1 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.006123, allocations: 123.1 kB / 278.7 MB, free: 11.61 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.0001001/0.006223, allocations: 275.8 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.006291, allocations: 45.69 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.006317, allocations: 4 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006319, allocations: 3.938 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.00632, allocations: 0 / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.006325, allocations: 11.94 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.107e-05/0.006396, allocations: 97.25 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.0064, allocations: 4 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.006464, allocations: 7.938 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.006467, allocations: 0 / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.006473, allocations: 8 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.006475, allocations: 0 / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006475, allocations: 0 / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.424e-05/0.00653, allocations: 72.33 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.00655, allocations: 7.938 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.00656, allocations: 0 / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.53e-05/0.006575, allocations: 4 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-06/0.006579, allocations: 3.984 kB / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.006585, allocations: 4 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.727e-05/0.006632, allocations: 131.2 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006632, allocations: 0 / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.006833, allocations: 4 kB / 279.4 MB, free: 10.88 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 8.454e-05/0.006917, allocations: 99.17 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.298e-05/0.00697, allocations: 8 kB / 279.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.006972, allocations: 0 / 279.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.006972, allocations: 4 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.007163, allocations: 17.06 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.007528, allocations: 137 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.371e-05/0.007562, allocations: 59.34 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.808e-06/0.007572, allocations: 4 kB / 279.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.007609, allocations: 66.2 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.007609, allocations: 0 / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of Templates: time 0.001783/0.009392, allocations: 354.7 kB / 280.1 MB, free: 10.08 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.7690390297211707]