Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 199.7 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008583/0.0008585, allocations: 95.61 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 8 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2872, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001291/0.2886, allocations: 1.214 MB / 413.3 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006309/0.2892, allocations: 0.6561 MB / 413.9 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.2893, allocations: 1.094 kB / 413.9 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.2893, allocations: 7.922 kB / 413.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.2894, allocations: 4.688 kB / 413.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.2896, allocations: 35.91 kB / 414 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.2897, allocations: 32.42 kB / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.2898, allocations: 16.67 kB / 414 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2899, allocations: 22.27 kB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.29, allocations: 7.938 kB / 414 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.496e-06/0.29, allocations: 0 / 414 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.44e-05/0.29, allocations: 11.98 kB / 414.1 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.29, allocations: 7.938 kB / 414.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.2901, allocations: 41.62 kB / 414.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.018e-05/0.2902, allocations: 38.95 kB / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2902, allocations: 0 / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2902, allocations: 0 / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.2902, allocations: 0 / 414.1 MB, free: 23.75 MB / 298.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.0003251/0.2905, allocations: 349 kB / 414.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2906, allocations: 8.031 kB / 414.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.2907, allocations: 24.83 kB / 414.5 MB, free: 23.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2908, allocations: 180.2 kB / 414.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2909, allocations: 8.375 kB / 414.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.2909, allocations: 384 / 414.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.2911, allocations: 131.6 kB / 414.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.2912, allocations: 0 / 414.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.2912, allocations: 0 / 414.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2912, allocations: 0 / 414.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.2913, allocations: 27.98 kB / 414.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.188e-05/0.2914, allocations: 161.6 kB / 415 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2915, allocations: 70.52 kB / 415.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.2916, allocations: 28.89 kB / 415.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.2916, allocations: 0 / 415.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.2916, allocations: 38.5 kB / 415.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2916, allocations: 0 / 415.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002041/0.2918, allocations: 81.52 kB / 415.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.2919, allocations: 63.34 kB / 415.3 MB, free: 22.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.2919, allocations: 105.8 kB / 415.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.2919, allocations: 29.7 kB / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.069e-05/0.292, allocations: 92.12 kB / 415.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-06/0.292, allocations: 0 / 415.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.292, allocations: 0 / 415.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.292, allocations: 322.8 kB / 415.8 MB, free: 21.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-06/0.292, allocations: 0 / 415.8 MB, free: 21.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.2921, allocations: 31.42 kB / 415.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.2921, allocations: 39.38 kB / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2921, allocations: 0 / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.62e-05/0.2922, allocations: 57.56 kB / 416 MB, free: 21.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2922, allocations: 7.938 kB / 416 MB, free: 21.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2922, allocations: 0 / 416 MB, free: 21.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2922, allocations: 8.125 kB / 416 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.2923, allocations: 4 kB / 416 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2923, allocations: 4 kB / 416 MB, free: 21.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.2923, allocations: 0 / 416 MB, free: 21.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.2923, allocations: 0 / 416 MB, free: 21.67 MB / 298.7 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 4.43e-05/0.2923, allocations: 117.8 kB / 416.1 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.734e-05/0.2924, allocations: 73.73 kB / 416.2 MB, free: 21.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.2925, allocations: 11.91 kB / 416.2 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2925, allocations: 48 / 416.2 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2925, allocations: 7.984 kB / 416.2 MB, free: 21.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2925, allocations: 0 / 416.2 MB, free: 21.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.753e-05/0.2926, allocations: 157.7 kB / 416.3 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2926, allocations: 0 / 416.3 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.2926, allocations: 11.98 kB / 416.3 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2926, allocations: 3.938 kB / 416.4 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.2926, allocations: 0 / 416.4 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2926, allocations: 0 / 416.4 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2926, allocations: 0 / 416.4 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.2928, allocations: 97.48 kB / 416.4 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.2928, allocations: 84.95 kB / 416.5 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.2928, allocations: 7.984 kB / 416.5 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.994e-05/0.2929, allocations: 0 / 416.5 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-06/0.2929, allocations: 3.938 kB / 416.5 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2929, allocations: 11.94 kB / 416.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.597e-05/0.2929, allocations: 87.27 kB / 416.6 MB, free: 20.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2929, allocations: 0 / 416.6 MB, free: 20.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000164/0.2931, allocations: 4 kB / 416.6 MB, free: 20.89 MB / 298.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.985e-05/0.2932, allocations: 107.2 kB / 416.7 MB, free: 20.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.2933, allocations: 31.86 kB / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2933, allocations: 256 / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2933, allocations: 4 kB / 416.8 MB, free: 20.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2935, allocations: 23.98 kB / 416.8 MB, free: 20.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.2938, allocations: 144.7 kB / 416.9 MB, free: 20.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.294, allocations: 0.6848 MB / 417.6 MB, free: 19.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.598e-05/0.294, allocations: 4 kB / 417.6 MB, free: 19.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.294, allocations: 11.44 kB / 417.6 MB, free: 19.82 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2941, allocations: 0 / 417.6 MB, free: 19.82 MB / 298.7 MB Notification: Performance of Templates: time 0.002383/0.2964, allocations: 334.8 kB / 418 MB, free: 19.5 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches