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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001511/0.001511, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001781/0.001781, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2635, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002793/0.2663, allocations: 1.503 MB / 411.4 MB, free: 84 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008466/0.2672, allocations: 478.8 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.2673, allocations: 4 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.2674, allocations: 7.875 kB / 411.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.756e-05/0.2674, allocations: 3.938 kB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.2677, allocations: 31.41 kB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2679, allocations: 35.91 kB / 412 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.268, allocations: 15.92 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.2681, allocations: 31.92 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.2682, allocations: 15.92 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.2682, allocations: 4 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-05/0.2683, allocations: 4 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.2683, allocations: 11.92 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.2683, allocations: 11.94 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2685, allocations: 39.83 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2685, allocations: 0 / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2685, allocations: 0 / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2685, allocations: 0 / 412.1 MB, free: 15.4 MB / 334.1 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.0004511/0.269, allocations: 359.2 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.269, allocations: 12.03 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.2692, allocations: 16.86 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.2694, allocations: 177.5 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2695, allocations: 8.375 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.2695, allocations: 384 / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.2699, allocations: 119.5 kB / 412.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2699, allocations: 7.984 kB / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.2699, allocations: 0 / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2699, allocations: 0 / 412.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-05/0.27, allocations: 23.92 kB / 412.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.2701, allocations: 161.6 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.2703, allocations: 62.55 kB / 413 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.2704, allocations: 24.92 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2704, allocations: 0 / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2704, allocations: 34.5 kB / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.2704, allocations: 0 / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002346/0.2707, allocations: 81.52 kB / 413.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.2707, allocations: 59.41 kB / 413.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.2708, allocations: 109.8 kB / 413.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.2708, allocations: 25.7 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.2709, allocations: 92.12 kB / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.643e-06/0.2709, allocations: 0 / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.2709, allocations: 17.72 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.271, allocations: 314.8 kB / 413.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.2711, allocations: 11.98 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.2711, allocations: 27.38 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.26e-05/0.2712, allocations: 35.44 kB / 413.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2712, allocations: 0 / 413.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.383e-05/0.2712, allocations: 57.56 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2713, allocations: 11.94 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.2713, allocations: 0 / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2713, allocations: 0 / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.2714, allocations: 8 kB / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2714, allocations: 0 / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.2714, allocations: 4 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.2714, allocations: 4.125 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 7.941e-05/0.2715, allocations: 121.8 kB / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.2716, allocations: 69.84 kB / 414.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.2717, allocations: 11.89 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2717, allocations: 0 / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2717, allocations: 0 / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2717, allocations: 7.938 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.846e-05/0.2718, allocations: 153.7 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2718, allocations: 0 / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.2719, allocations: 15.98 kB / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.2719, allocations: 4.266 kB / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2719, allocations: 0 / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2719, allocations: 0 / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2719, allocations: 0 / 414.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.2721, allocations: 96.94 kB / 414.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.2721, allocations: 89.03 kB / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.2722, allocations: 4 kB / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.2722, allocations: 4 kB / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-06/0.2722, allocations: 3.938 kB / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.2722, allocations: 0 / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.81e-05/0.2723, allocations: 91.27 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2723, allocations: 0 / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.2725, allocations: 4 kB / 414.6 MB, free: 12.54 MB / 334.1 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.0001184/0.2726, allocations: 95.25 kB / 414.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.2728, allocations: 31.92 kB / 414.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2728, allocations: 0 / 414.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.2728, allocations: 0 / 414.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.273, allocations: 26.22 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.2733, allocations: 172.2 kB / 414.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.2736, allocations: 0.6846 MB / 415.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.2736, allocations: 11.69 kB / 415.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2736, allocations: 0 / 415.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of Templates: time 0.001895/0.2755, allocations: 0.5824 MB / 416.2 MB, free: 10.88 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches