Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007966/0.0007963, allocations: 99.64 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 8 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002108/0.2863, allocations: 1.538 MB / 413.6 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2876, allocations: 1.12 MB / 414.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.2877, allocations: 7.938 kB / 414.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.2878, allocations: 11.86 kB / 414.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.288, allocations: 25.78 kB / 414.8 MB, free: 23.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.2886, allocations: 140.3 kB / 414.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.2888, allocations: 139.6 kB / 415 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.2889, allocations: 56.75 kB / 415.1 MB, free: 22.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2891, allocations: 43.8 kB / 415.1 MB, free: 22.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.2892, allocations: 55.62 kB / 415.2 MB, free: 22.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.2892, allocations: 7.938 kB / 415.2 MB, free: 22.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.2894, allocations: 47.97 kB / 415.2 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.465e-05/0.2894, allocations: 27.84 kB / 415.3 MB, free: 22.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.2895, allocations: 81.3 kB / 415.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.2898, allocations: 187.3 kB / 415.5 MB, free: 22.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2898, allocations: 3.938 kB / 415.5 MB, free: 22.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2898, allocations: 0 / 415.5 MB, free: 22.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2898, allocations: 0 / 415.5 MB, free: 22.31 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006761/0.2905, allocations: 456.5 kB / 416 MB, free: 21.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2906, allocations: 8.031 kB / 416 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.2907, allocations: 40.64 kB / 416 MB, free: 21.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.291, allocations: 233 kB / 416.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.2911, allocations: 12.56 kB / 416.3 MB, free: 21.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.2911, allocations: 8.125 kB / 416.3 MB, free: 21.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008028/0.2919, allocations: 342.1 kB / 416.6 MB, free: 21.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2919, allocations: 0 / 416.6 MB, free: 21.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.292, allocations: 4 kB / 416.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.292, allocations: 8 kB / 416.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.2923, allocations: 91.94 kB / 416.7 MB, free: 21.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.2927, allocations: 345.4 kB / 417 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.2933, allocations: 294.5 kB / 417.3 MB, free: 20.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.2935, allocations: 97.67 kB / 417.4 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005713/0.2941, allocations: 0.5895 MB / 418 MB, free: 19.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2942, allocations: 34.5 kB / 418.1 MB, free: 19.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.2942, allocations: 0 / 418.1 MB, free: 19.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006935/0.2949, allocations: 254.5 kB / 418.3 MB, free: 19.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.295, allocations: 118.8 kB / 418.4 MB, free: 19.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.2951, allocations: 194.3 kB / 418.6 MB, free: 18.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2952, allocations: 29.7 kB / 418.6 MB, free: 18.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.2952, allocations: 112.5 kB / 418.7 MB, free: 18.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.2953, allocations: 15.89 kB / 418.8 MB, free: 18.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.2953, allocations: 4 kB / 418.8 MB, free: 18.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.2954, allocations: 326.8 kB / 419.1 MB, free: 18.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.2955, allocations: 39.97 kB / 419.1 MB, free: 18.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.2956, allocations: 171.7 kB / 419.3 MB, free: 18.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.2959, allocations: 208.1 kB / 419.5 MB, free: 17.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2959, allocations: 4 kB / 419.5 MB, free: 17.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004231/0.2963, allocations: 217 kB / 419.7 MB, free: 17.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2964, allocations: 12.41 kB / 419.7 MB, free: 17.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.2964, allocations: 4 kB / 419.7 MB, free: 17.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2964, allocations: 11.92 kB / 419.7 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.2966, allocations: 44.52 kB / 419.8 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.2966, allocations: 4 kB / 419.8 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.2968, allocations: 23.91 kB / 419.8 MB, free: 17.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2968, allocations: 15.92 kB / 419.8 MB, free: 17.49 MB / 298.7 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 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.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.0001484/0.297, allocations: 147.9 kB / 420 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/0.2974, allocations: 177.2 kB / 420.1 MB, free: 17.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.2978, allocations: 187.4 kB / 420.3 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2978, allocations: 0 / 420.3 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2978, allocations: 4 kB / 420.3 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2978, allocations: 0 / 420.3 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.2981, allocations: 233.4 kB / 420.6 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.2981, allocations: 4 kB / 420.6 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.2983, allocations: 35.92 kB / 420.6 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2983, allocations: 3.984 kB / 420.6 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2983, allocations: 0 / 420.6 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2983, allocations: 7.938 kB / 420.6 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2983, allocations: 7.984 kB / 420.6 MB, free: 16.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.2988, allocations: 293.5 kB / 420.9 MB, free: 16.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/0.2989, allocations: 120.8 kB / 421 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.299, allocations: 8 kB / 421 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.2991, allocations: 19.98 kB / 421 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.2992, allocations: 0 / 421 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.2992, allocations: 4 kB / 421.1 MB, free: 16.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.2994, allocations: 152.3 kB / 421.2 MB, free: 16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2994, allocations: 0 / 421.2 MB, free: 16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004721/0.2998, allocations: 28 kB / 421.2 MB, free: 15.98 MB / 298.7 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.0001752/0.3, allocations: 119.2 kB / 421.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004184/0.3005, allocations: 156.8 kB / 421.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3005, allocations: 3.938 kB / 421.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.83e-05/0.3005, allocations: 12.06 kB / 421.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007582/0.3013, allocations: 153.5 kB / 421.7 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.3021, allocations: 384.1 kB / 422 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.3023, allocations: 0.7402 MB / 422.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.409e-05/0.3024, allocations: 13.55 kB / 422.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.3024, allocations: 19.44 kB / 422.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3024, allocations: 3.938 kB / 422.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of Templates: time 0.006627/0.3091, allocations: 2.182 MB / 425 MB, free: 12.16 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches