Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 110.2 kB / 17.06 MB, free: 6 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.001262/0.001262, allocations: 198.9 kB / 18 MB, free: 5.078 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.503/1.503, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 51.92 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3855, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003486/0.3891, allocations: 1.861 MB / 402.6 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3905, allocations: 0.6816 MB / 403.3 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.3907, allocations: 11.94 kB / 403.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.3909, allocations: 19.8 kB / 403.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.391, allocations: 27.73 kB / 403.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.3916, allocations: 154.5 kB / 403.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.3919, allocations: 143.7 kB / 403.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.392, allocations: 53.53 kB / 403.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3921, allocations: 63.7 kB / 403.7 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3923, allocations: 59.7 kB / 403.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.3923, allocations: 12 kB / 403.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3924, allocations: 47.95 kB / 403.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.3925, allocations: 55.77 kB / 403.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.3926, allocations: 67.55 kB / 404 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.3929, allocations: 199.3 kB / 404.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3929, allocations: 0 / 404.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3929, allocations: 0 / 404.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3929, allocations: 0 / 404.2 MB, free: 5.414 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007815/0.3937, allocations: 468.1 kB / 404.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3938, allocations: 19.83 kB / 404.6 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.3938, allocations: 24.66 kB / 404.7 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.3942, allocations: 240.1 kB / 404.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3942, allocations: 8.562 kB / 404.9 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3943, allocations: 8.125 kB / 404.9 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.3949, allocations: 330.4 kB / 405.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.395, allocations: 0 / 405.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.395, allocations: 4 kB / 405.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.395, allocations: 8 kB / 405.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.3952, allocations: 83.92 kB / 405.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.3957, allocations: 345.4 kB / 405.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.3962, allocations: 274.1 kB / 405.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.3964, allocations: 102 kB / 406 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000614/0.397, allocations: 0.5856 MB / 406.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.397, allocations: 34.56 kB / 406.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/0.397, allocations: 0 / 406.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006054/0.3977, allocations: 237.3 kB / 406.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.3978, allocations: 118.7 kB / 407 MB, free: 2.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.3979, allocations: 194.2 kB / 407.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.398, allocations: 29.7 kB / 407.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.398, allocations: 112.4 kB / 407.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.3981, allocations: 15.89 kB / 407.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.3982, allocations: 37.7 kB / 407.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3983, allocations: 330.8 kB / 407.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-05/0.3984, allocations: 44 kB / 407.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3986, allocations: 162.4 kB / 407.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.3988, allocations: 204.1 kB / 408.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.3988, allocations: 4 kB / 408.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000321/0.3992, allocations: 213 kB / 408.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3992, allocations: 8 kB / 408.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3992, allocations: 4.594 kB / 408.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3992, allocations: 12 kB / 408.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3994, allocations: 43.91 kB / 408.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.3994, allocations: 7.938 kB / 408.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.3995, allocations: 19.84 kB / 408.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.3996, allocations: 16 kB / 408.4 MB, free: 0.6172 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001647/0.3997, allocations: 145.7 kB / 408.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/0.4001, allocations: 163.6 kB / 408.7 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.4004, allocations: 183.3 kB / 408.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4005, allocations: 4 kB / 408.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4005, allocations: 0 / 408.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4005, allocations: 3.984 kB / 408.9 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.4007, allocations: 225.5 kB / 409.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.4008, allocations: 7.938 kB / 409.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.4009, allocations: 27.98 kB / 409.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.4009, allocations: 4 kB / 409.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.4009, allocations: 8 kB / 409.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.4009, allocations: 3.984 kB / 409.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.401, allocations: 4 kB / 409.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.4014, allocations: 280 kB / 409.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.4015, allocations: 120.8 kB / 409.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.4015, allocations: 12 kB / 409.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.4017, allocations: 7.984 kB / 409.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.4017, allocations: 4 kB / 409.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.4018, allocations: 11.94 kB / 409.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.4019, allocations: 135.2 kB / 409.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4019, allocations: 0 / 409.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000359/0.4023, allocations: 36 kB / 409.8 MB, free: 15.14 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002032/0.4025, allocations: 127.1 kB / 409.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.4028, allocations: 151.7 kB / 410.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4028, allocations: 0 / 410.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.4029, allocations: 5.188 kB / 410.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006032/0.4035, allocations: 156.5 kB / 410.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/0.4042, allocations: 329 kB / 410.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.4045, allocations: 0.7322 MB / 411.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.4046, allocations: 17.55 kB / 411.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.4046, allocations: 19.42 kB / 411.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4046, allocations: 0 / 411.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Templates: time 0.0063/0.4109, allocations: 2.443 MB / 413.8 MB, free: 11.13 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches