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.001904/0.001904, allocations: 103.5 kB / 20.97 MB, free: 3.438 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.002021/0.002021, allocations: 156.9 kB / 24.27 MB, free: 144 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.626/1.626, allocations: 177 MB / 204.4 MB, free: 5.641 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.054e-06/2.054e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.328e-05/3.534e-05, allocations: 5.125 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.004722/0.004757, allocations: 1.518 MB / 273.7 MB, free: 296 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.006266, allocations: 474.7 kB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.006338, allocations: 0 / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.006377, allocations: 7.922 kB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.006481, allocations: 7.922 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.006845, allocations: 35.84 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.006986, allocations: 31.86 kB / 274.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.00709, allocations: 15.98 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.00729, allocations: 31.84 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.007363, allocations: 15.98 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.007383, allocations: 0 / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.959e-05/0.007432, allocations: 4 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.007457, allocations: 11.94 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.007497, allocations: 7.984 kB / 274.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.007682, allocations: 51.75 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.007686, allocations: 0 / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007687, allocations: 0 / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.007691, allocations: 4 kB / 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.0007118/0.008403, allocations: 372.2 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.008454, allocations: 15.98 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.008672, allocations: 12.92 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.008952, allocations: 124.5 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.008971, allocations: 4.375 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.008988, allocations: 4.375 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.009486, allocations: 121.5 kB / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.009497, allocations: 192 / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.009508, allocations: 384 / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.009518, allocations: 3.938 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.00967, allocations: 23.97 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.00989, allocations: 116.6 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.01017, allocations: 55.05 kB / 275.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.01029, allocations: 27.75 kB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.01031, allocations: 7.938 kB / 275.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.01037, allocations: 37.39 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.01037, allocations: 0 / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003928/0.01076, allocations: 73.62 kB / 275.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.01085, allocations: 59.34 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.01107, allocations: 173.9 kB / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.0111, allocations: 25.7 kB / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.01123, allocations: 138.8 kB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.01123, allocations: 0 / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.01128, allocations: 19.36 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003983/0.01168, allocations: 0.4923 MB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-06/0.01169, allocations: 0 / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-06/0.01169, allocations: 0 / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.792e-05/0.01179, allocations: 119.2 kB / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-05/0.01188, allocations: 119.2 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001021/0.01198, allocations: 33.64 kB / 276.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.01209, allocations: 123.2 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.0122, allocations: 127.1 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.01241, allocations: 246.4 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01251, allocations: 123.2 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000314/0.01282, allocations: 250.2 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.01301, allocations: 127.2 kB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.714e-05/0.0131, allocations: 123.1 kB / 277.6 MB, free: 12.14 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.0002621/0.01337, allocations: 275.8 kB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.01359, allocations: 61.62 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.01363, allocations: 12 kB / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01364, allocations: 0 / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.01365, allocations: 3.938 kB / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01366, allocations: 0 / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.01383, allocations: 120.6 kB / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.01383, allocations: 0 / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.01396, allocations: 8 kB / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01396, allocations: 0 / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.01397, allocations: 4 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01397, allocations: 0 / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.01398, allocations: 7.922 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.01428, allocations: 100.3 kB / 278.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.01431, allocations: 4.266 kB / 278.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.01434, allocations: 4 kB / 278.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.01439, allocations: 4 kB / 278.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-06/0.01439, allocations: 0 / 278.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01441, allocations: 7.984 kB / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.01455, allocations: 139.5 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.01455, allocations: 0 / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004025/0.01495, allocations: 4 kB / 278.4 MB, free: 11.32 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.0001796/0.01513, allocations: 95.25 kB / 278.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.01526, allocations: 15.94 kB / 278.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01527, allocations: 0 / 278.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.123e-06/0.01527, allocations: 0 / 278.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.01566, allocations: 25.05 kB / 278.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.0161, allocations: 145 kB / 278.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.01621, allocations: 67.34 kB / 278.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.316e-05/0.01622, allocations: 0 / 278.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.01626, allocations: 8.5 kB / 278.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01626, allocations: 0 / 278.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Templates: time 0.004294/0.02056, allocations: 339.5 kB / 279.1 MB, free: 10.58 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","/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.556416454957798]