Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 113.5 kB / 17.07 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 194.8 kB / 18 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 43.94 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.379, allocations: 49.44 MB / 400.7 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003448/0.3825, allocations: 1.499 MB / 402.2 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3836, allocations: 426.9 kB / 402.6 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.3837, allocations: 0 / 402.6 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.262e-05/0.3838, allocations: 7.922 kB / 402.7 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.902e-05/0.3839, allocations: 7.875 kB / 402.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.3843, allocations: 31.97 kB / 402.7 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.3844, allocations: 43.8 kB / 402.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3845, allocations: 15.97 kB / 402.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3847, allocations: 15.92 kB / 402.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.3847, allocations: 15.92 kB / 402.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3848, allocations: 4 kB / 402.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.3848, allocations: 4 kB / 402.8 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.3848, allocations: 4 kB / 402.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.09e-05/0.3849, allocations: 19.86 kB / 402.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.385, allocations: 43.83 kB / 402.9 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3851, allocations: 3.938 kB / 402.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.679e-06/0.3851, allocations: 3.984 kB / 402.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3851, allocations: 0 / 402.9 MB, free: 6.715 MB / 318.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.0005698/0.3857, allocations: 347.2 kB / 403.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3857, allocations: 8.031 kB / 403.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.3858, allocations: 8.891 kB / 403.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.3861, allocations: 184.2 kB / 403.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3861, allocations: 8.375 kB / 403.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3861, allocations: 4.375 kB / 403.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.3865, allocations: 111.6 kB / 403.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3865, allocations: 3.984 kB / 403.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3866, allocations: 11.94 kB / 403.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3866, allocations: 0 / 403.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.3867, allocations: 19.98 kB / 403.6 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.3869, allocations: 157.7 kB / 403.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.387, allocations: 54.55 kB / 403.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.3871, allocations: 24.92 kB / 403.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3872, allocations: 11.92 kB / 403.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3872, allocations: 38.5 kB / 403.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3872, allocations: 0 / 403.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002523/0.3875, allocations: 77.61 kB / 403.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.3875, allocations: 51.41 kB / 404 MB, free: 5.434 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.3876, allocations: 113.8 kB / 404.1 MB, free: 5.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3876, allocations: 25.7 kB / 404.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.3877, allocations: 88.14 kB / 404.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.3877, allocations: 7.938 kB / 404.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.3877, allocations: 21.7 kB / 404.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.3878, allocations: 310.8 kB / 404.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.3878, allocations: 4 kB / 404.5 MB, free: 4.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.3879, allocations: 27.44 kB / 404.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.3879, allocations: 39.36 kB / 404.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3879, allocations: 0 / 404.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.326e-05/0.388, allocations: 49.64 kB / 404.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.388, allocations: 15.92 kB / 404.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.388, allocations: 0 / 404.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3881, allocations: 4.062 kB / 404.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.809e-05/0.3881, allocations: 12 kB / 404.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3881, allocations: 0 / 404.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.3882, allocations: 7.938 kB / 404.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.3882, allocations: 0 / 404.7 MB, free: 4.656 MB / 318.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 9.704e-05/0.3883, allocations: 113.8 kB / 404.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.3884, allocations: 73.83 kB / 404.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.3885, allocations: 3.906 kB / 404.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3885, allocations: 384 / 404.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3885, allocations: 4 kB / 404.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3885, allocations: 0 / 404.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.3886, allocations: 161.7 kB / 405 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3886, allocations: 3.938 kB / 405 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.3887, allocations: 7.984 kB / 405 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3887, allocations: 7.938 kB / 405 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3887, allocations: 4 kB / 405 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3887, allocations: 0 / 405 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3887, allocations: 3.938 kB / 405.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.3889, allocations: 89.06 kB / 405.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.389, allocations: 85.05 kB / 405.2 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.389, allocations: 4 kB / 405.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.389, allocations: 7.984 kB / 405.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-06/0.389, allocations: 0 / 405.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.389, allocations: 4 kB / 405.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.576e-05/0.3891, allocations: 83.28 kB / 405.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3891, allocations: 0 / 405.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000201/0.3893, allocations: 12 kB / 405.3 MB, free: 3.891 MB / 318.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.0001183/0.3894, allocations: 104 kB / 405.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.3896, allocations: 27.92 kB / 405.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3896, allocations: 0 / 405.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.3896, allocations: 0 / 405.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.3898, allocations: 27.91 kB / 405.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.3901, allocations: 138.9 kB / 405.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.3904, allocations: 0.6844 MB / 406.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.857e-05/0.3904, allocations: 0 / 406.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.3905, allocations: 15.36 kB / 406.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3905, allocations: 0 / 406.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of Templates: time 0.002822/0.3933, allocations: 364.9 kB / 406.7 MB, free: 2.484 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches