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.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008415/0.0008416, allocations: 180.3 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.326/1.326, allocations: 225.7 MB / 243.2 MB, free: 10.17 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.0008082/0.0008083, allocations: 94.69 kB / 294.4 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002844, allocations: 4 kB / 354.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2902, allocations: 50.41 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.001457/0.2917, allocations: 1.28 MB / 405.9 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006485/0.2924, allocations: 437.8 kB / 406.3 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.2925, allocations: 7.938 kB / 406.3 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.2925, allocations: 0 / 406.3 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.2927, allocations: 14.34 kB / 406.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.293, allocations: 43.91 kB / 406.4 MB, free: 29.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.815e-05/0.2931, allocations: 47.8 kB / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.2932, allocations: 13.42 kB / 406.4 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.2933, allocations: 19.91 kB / 406.4 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.362e-05/0.2933, allocations: 19.88 kB / 406.5 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2934, allocations: 0.8438 kB / 406.5 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.2934, allocations: 3.938 kB / 406.5 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.2934, allocations: 13.02 kB / 406.5 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.2935, allocations: 53.52 kB / 406.5 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.392e-05/0.2936, allocations: 51.78 kB / 406.6 MB, free: 29.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2936, allocations: 0.8125 kB / 406.6 MB, free: 29.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2936, allocations: 0 / 406.6 MB, free: 29.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.2936, allocations: 4 kB / 406.6 MB, free: 29.34 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004093/0.294, allocations: 368.7 kB / 406.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2941, allocations: 8.031 kB / 406.9 MB, free: 28.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.2941, allocations: 8.844 kB / 407 MB, free: 28.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.2943, allocations: 208.5 kB / 407.2 MB, free: 28.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.2943, allocations: 384 / 407.2 MB, free: 28.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2943, allocations: 4.375 kB / 407.2 MB, free: 28.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.2946, allocations: 122 kB / 407.3 MB, free: 28.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2946, allocations: 0 / 407.3 MB, free: 28.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2946, allocations: 3.938 kB / 407.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2946, allocations: 0 / 407.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.2947, allocations: 27.98 kB / 407.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.295, allocations: 282.5 kB / 407.6 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.605e-05/0.2951, allocations: 71.78 kB / 407.7 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.2951, allocations: 34.62 kB / 407.7 MB, free: 28.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.2952, allocations: 0 / 407.7 MB, free: 28.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.2952, allocations: 34.56 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2952, allocations: 4 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000243/0.2954, allocations: 89.52 kB / 407.8 MB, free: 27.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.2955, allocations: 106.8 kB / 407.9 MB, free: 27.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.2956, allocations: 145.1 kB / 408.1 MB, free: 27.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.2956, allocations: 29.7 kB / 408.1 MB, free: 27.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.2956, allocations: 96.08 kB / 408.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.2956, allocations: 3.906 kB / 408.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.2957, allocations: 0 / 408.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.2957, allocations: 326.7 kB / 408.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.2958, allocations: 11.98 kB / 408.5 MB, free: 27.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.2958, allocations: 35.44 kB / 408.6 MB, free: 27.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.757e-05/0.2959, allocations: 55.36 kB / 408.6 MB, free: 27.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2959, allocations: 4 kB / 408.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001121/0.296, allocations: 73.61 kB / 408.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.296, allocations: 7.938 kB / 408.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.296, allocations: 0 / 408.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2961, allocations: 4 kB / 408.7 MB, free: 26.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.2961, allocations: 11.98 kB / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2962, allocations: 128 / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.2962, allocations: 8 kB / 408.7 MB, free: 26.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.2962, allocations: 4 kB / 408.7 MB, free: 26.9 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.16e-05/0.2963, allocations: 129.6 kB / 408.8 MB, free: 26.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.2963, allocations: 49.55 kB / 408.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.2964, allocations: 15.86 kB / 408.9 MB, free: 26.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2964, allocations: 0 / 408.9 MB, free: 26.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2964, allocations: 4 kB / 408.9 MB, free: 26.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2964, allocations: 4.062 kB / 408.9 MB, free: 26.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2966, allocations: 173.6 kB / 409.1 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2966, allocations: 0 / 409.1 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.2966, allocations: 11.98 kB / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2966, allocations: 0 / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2966, allocations: 0 / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2966, allocations: 4 kB / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2967, allocations: 0 / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.2968, allocations: 189 kB / 409.3 MB, free: 26.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.2969, allocations: 89 kB / 409.4 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2969, allocations: 4 kB / 409.4 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.2969, allocations: 4 kB / 409.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.297, allocations: 8.125 kB / 409.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.297, allocations: 7.984 kB / 409.4 MB, free: 26.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.976e-05/0.297, allocations: 110.2 kB / 409.5 MB, free: 26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2971, allocations: 0 / 409.5 MB, free: 26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.2973, allocations: 4 kB / 409.5 MB, free: 26 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 7.886e-05/0.2973, allocations: 107.2 kB / 409.6 MB, free: 25.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.2975, allocations: 44.05 kB / 409.7 MB, free: 25.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2975, allocations: 0 / 409.7 MB, free: 25.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.2975, allocations: 11.98 kB / 409.7 MB, free: 25.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.2979, allocations: 35.84 kB / 409.7 MB, free: 25.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.2982, allocations: 210.8 kB / 409.9 MB, free: 25.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.2983, allocations: 0.6887 MB / 410.6 MB, free: 24.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.618e-05/0.2983, allocations: 4 kB / 410.6 MB, free: 24.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.2983, allocations: 11.44 kB / 410.6 MB, free: 24.82 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2983, allocations: 0 / 410.6 MB, free: 24.82 MB / 298.7 MB Notification: Performance of Templates: time 0.002132/0.3005, allocations: 0.5419 MB / 411.2 MB, free: 24.29 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches