Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001143, allocations: 186.4 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009721/0.0009722, allocations: 94.86 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 8 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2858, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001488/0.2873, allocations: 1.194 MB / 405.8 MB, free: 30.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005999/0.2879, allocations: 405.1 kB / 406.2 MB, free: 29.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.288, allocations: 1.094 kB / 406.2 MB, free: 29.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.288, allocations: 7.938 kB / 406.2 MB, free: 29.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.2881, allocations: 3.938 kB / 406.2 MB, free: 29.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.2884, allocations: 28.88 kB / 406.2 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.374e-05/0.2885, allocations: 39.8 kB / 406.3 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2886, allocations: 9.062 kB / 406.3 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.2887, allocations: 21.72 kB / 406.3 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.2887, allocations: 11.94 kB / 406.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.2887, allocations: 0 / 406.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.2888, allocations: 0 / 406.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.2888, allocations: 7.984 kB / 406.3 MB, free: 29.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.2888, allocations: 42.11 kB / 406.3 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.204e-05/0.2889, allocations: 32.41 kB / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2889, allocations: 0 / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2889, allocations: 2.75 kB / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.289, allocations: 0 / 406.4 MB, free: 29.52 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.0003789/0.2893, allocations: 345.5 kB / 406.7 MB, free: 29.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2894, allocations: 15.97 kB / 406.7 MB, free: 29.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.2894, allocations: 4.844 kB / 406.7 MB, free: 29.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.2896, allocations: 188.8 kB / 406.9 MB, free: 28.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2896, allocations: 1.625 kB / 406.9 MB, free: 28.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.2896, allocations: 4.375 kB / 406.9 MB, free: 28.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.29, allocations: 119.2 kB / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.29, allocations: 0 / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.29, allocations: 0 / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.29, allocations: 0 / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.659e-05/0.2901, allocations: 30.89 kB / 407.1 MB, free: 28.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.2902, allocations: 169.6 kB / 407.2 MB, free: 28.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.2904, allocations: 62.55 kB / 407.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.2904, allocations: 24.92 kB / 407.3 MB, free: 28.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.2904, allocations: 3.984 kB / 407.3 MB, free: 28.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.2905, allocations: 38.5 kB / 407.4 MB, free: 28.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2905, allocations: 0 / 407.4 MB, free: 28.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002253/0.2907, allocations: 93.5 kB / 407.5 MB, free: 28.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2908, allocations: 51.41 kB / 407.5 MB, free: 28.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.2908, allocations: 113.8 kB / 407.6 MB, free: 28.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-06/0.2908, allocations: 25.7 kB / 407.6 MB, free: 28.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.2909, allocations: 80.14 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.2909, allocations: 11.98 kB / 407.7 MB, free: 27.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.2909, allocations: 0 / 407.7 MB, free: 27.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.291, allocations: 314.8 kB / 408 MB, free: 27.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.291, allocations: 0 / 408 MB, free: 27.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.291, allocations: 31.42 kB / 408.1 MB, free: 27.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.291, allocations: 39.38 kB / 408.1 MB, free: 27.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.291, allocations: 0 / 408.1 MB, free: 27.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.432e-05/0.2911, allocations: 57.56 kB / 408.2 MB, free: 27.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2911, allocations: 11.94 kB / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2911, allocations: 384 / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2912, allocations: 0 / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.146e-05/0.2912, allocations: 8 kB / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2912, allocations: 0 / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/0.2913, allocations: 8.062 kB / 408.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.2913, allocations: 7.938 kB / 408.2 MB, free: 27.46 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 6.008e-05/0.2913, allocations: 117.8 kB / 408.3 MB, free: 27.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.62e-05/0.2914, allocations: 77.45 kB / 408.4 MB, free: 27.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.2915, allocations: 7.906 kB / 408.4 MB, free: 27.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2915, allocations: 0 / 408.4 MB, free: 27.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2915, allocations: 0 / 408.4 MB, free: 27.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2915, allocations: 0 / 408.4 MB, free: 27.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.462e-05/0.2916, allocations: 165.7 kB / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2916, allocations: 0 / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.2916, allocations: 11.98 kB / 408.6 MB, free: 27.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2916, allocations: 3.938 kB / 408.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2917, allocations: 4 kB / 408.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2917, allocations: 0 / 408.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2917, allocations: 0 / 408.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.2918, allocations: 93.05 kB / 408.7 MB, free: 26.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.2919, allocations: 88.95 kB / 408.8 MB, free: 26.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.2919, allocations: 0 / 408.8 MB, free: 26.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/0.2919, allocations: 11.98 kB / 408.8 MB, free: 26.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-06/0.2919, allocations: 0 / 408.8 MB, free: 26.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.2919, allocations: 0 / 408.8 MB, free: 26.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.91e-05/0.292, allocations: 87.28 kB / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.292, allocations: 0 / 408.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001814/0.2922, allocations: 8 kB / 408.9 MB, free: 26.69 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.014e-05/0.2922, allocations: 107.2 kB / 409 MB, free: 26.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.2924, allocations: 27.92 kB / 409 MB, free: 26.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2924, allocations: 0 / 409 MB, free: 26.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2924, allocations: 0 / 409 MB, free: 26.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.2926, allocations: 28.78 kB / 409 MB, free: 26.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.2929, allocations: 152.6 kB / 409.2 MB, free: 26.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.293, allocations: 0.6809 MB / 409.9 MB, free: 25.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.3e-05/0.293, allocations: 3.984 kB / 409.9 MB, free: 25.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.293, allocations: 7.719 kB / 409.9 MB, free: 25.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.293, allocations: 7.938 kB / 409.9 MB, free: 25.62 MB / 298.7 MB Notification: Performance of Templates: time 0.00228/0.2953, allocations: 340.8 kB / 410.2 MB, free: 25.29 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches