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.SampleWithADeffects.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009803/0.0009803, allocations: 183.1 kB / 16.71 MB, free: 4.969 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.289/1.289, allocations: 225.7 MB / 243.2 MB, free: 8.516 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.0007935/0.0007936, allocations: 96.47 kB / 294.4 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002683, allocations: 11.94 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2643, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.001792/0.2661, allocations: 1.534 MB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2672, allocations: 0.8513 MB / 407 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.2673, allocations: 4.781 kB / 407 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.2674, allocations: 11.86 kB / 407 MB, free: 28.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2676, allocations: 28.44 kB / 407 MB, free: 28.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.268, allocations: 129.5 kB / 407.1 MB, free: 28.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.2682, allocations: 140.2 kB / 407.3 MB, free: 28.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2683, allocations: 64.08 kB / 407.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.2684, allocations: 48.22 kB / 407.4 MB, free: 28.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.2685, allocations: 50.23 kB / 407.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.2685, allocations: 4 kB / 407.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.761e-05/0.2686, allocations: 35.97 kB / 407.5 MB, free: 28.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.2687, allocations: 35.84 kB / 407.5 MB, free: 28.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.2688, allocations: 85.19 kB / 407.6 MB, free: 28.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.2689, allocations: 179.3 kB / 407.8 MB, free: 28.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2689, allocations: 1.188 kB / 407.8 MB, free: 28.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.269, allocations: 0 / 407.8 MB, free: 28.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.269, allocations: 0 / 407.8 MB, free: 28.08 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.0005327/0.2695, allocations: 455.8 kB / 408.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2695, allocations: 8.031 kB / 408.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.2696, allocations: 20.66 kB / 408.2 MB, free: 27.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.2698, allocations: 244 kB / 408.5 MB, free: 27.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.2698, allocations: 12.56 kB / 408.5 MB, free: 27.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.2699, allocations: 16.12 kB / 408.5 MB, free: 27.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.2704, allocations: 325.9 kB / 408.8 MB, free: 26.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2704, allocations: 4 kB / 408.8 MB, free: 26.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.2705, allocations: 4 kB / 408.8 MB, free: 26.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2705, allocations: 7.984 kB / 408.8 MB, free: 26.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.2707, allocations: 91.89 kB / 408.9 MB, free: 26.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.271, allocations: 345.5 kB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.2714, allocations: 282.4 kB / 409.5 MB, free: 26.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.2716, allocations: 101.7 kB / 409.6 MB, free: 26.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.272, allocations: 0.5895 MB / 410.2 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.2721, allocations: 30.56 kB / 410.3 MB, free: 25.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.2721, allocations: 0 / 410.3 MB, free: 25.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004842/0.2726, allocations: 253.2 kB / 410.5 MB, free: 25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.2726, allocations: 118.8 kB / 410.6 MB, free: 24.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.2728, allocations: 192.5 kB / 410.8 MB, free: 24.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2728, allocations: 29.7 kB / 410.8 MB, free: 24.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.2729, allocations: 112.5 kB / 410.9 MB, free: 24.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.2729, allocations: 31.7 kB / 411 MB, free: 24.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.2729, allocations: 0 / 411 MB, free: 24.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.273, allocations: 330.8 kB / 411.3 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/0.2731, allocations: 35.98 kB / 411.3 MB, free: 24.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.2732, allocations: 166.3 kB / 411.5 MB, free: 23.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.2733, allocations: 208.1 kB / 411.7 MB, free: 23.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2734, allocations: 4 kB / 411.7 MB, free: 23.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002544/0.2736, allocations: 224.9 kB / 411.9 MB, free: 23.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2736, allocations: 8 kB / 411.9 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2736, allocations: 4 kB / 411.9 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2737, allocations: 4 kB / 411.9 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.2738, allocations: 44.52 kB / 412 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.2738, allocations: 4 kB / 412 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2739, allocations: 23.89 kB / 412 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.2739, allocations: 12 kB / 412 MB, free: 23.3 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.000103/0.2741, allocations: 157.6 kB / 412.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.2743, allocations: 177.6 kB / 412.3 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.2746, allocations: 183.5 kB / 412.5 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2746, allocations: 0 / 412.5 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2746, allocations: 0 / 412.5 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2746, allocations: 4 kB / 412.5 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.2748, allocations: 225.4 kB / 412.8 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.2748, allocations: 8 kB / 412.8 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.2749, allocations: 39.84 kB / 412.8 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.275, allocations: 4 kB / 412.8 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.275, allocations: 7.938 kB / 412.8 MB, free: 22.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.275, allocations: 4 kB / 412.8 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.275, allocations: 0 / 412.8 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.2753, allocations: 289 kB / 413.1 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.2754, allocations: 120.8 kB / 413.2 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.2754, allocations: 11.98 kB / 413.2 MB, free: 21.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.2755, allocations: 20 kB / 413.2 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.2756, allocations: 3.984 kB / 413.2 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.2756, allocations: 4 kB / 413.3 MB, free: 21.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.191e-05/0.2757, allocations: 147.3 kB / 413.4 MB, free: 21.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2757, allocations: 0 / 413.4 MB, free: 21.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002636/0.276, allocations: 32 kB / 413.4 MB, free: 21.78 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.0001478/0.2761, allocations: 123.2 kB / 413.5 MB, free: 21.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.2764, allocations: 152.8 kB / 413.7 MB, free: 21.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2764, allocations: 0 / 413.7 MB, free: 21.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.651e-05/0.2765, allocations: 20.05 kB / 413.7 MB, free: 21.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.277, allocations: 156.1 kB / 413.9 MB, free: 21.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.2775, allocations: 383.9 kB / 414.2 MB, free: 20.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.2777, allocations: 0.7401 MB / 415 MB, free: 20.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.2777, allocations: 17.53 kB / 415 MB, free: 20.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.2778, allocations: 19.38 kB / 415 MB, free: 20.12 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2778, allocations: 0 / 415 MB, free: 20.12 MB / 298.7 MB Notification: Performance of Templates: time 0.004402/0.2822, allocations: 2.195 MB / 417.2 MB, free: 17.95 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches