Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 193.1 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.779/1.779, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008472/0.0008473, allocations: 102.6 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 4 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3411, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00202/0.3432, allocations: 1.452 MB / 413.5 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3443, allocations: 0.7569 MB / 414.3 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.3445, allocations: 4.906 kB / 414.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.3445, allocations: 3.938 kB / 414.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.3447, allocations: 18.88 kB / 414.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.3451, allocations: 91.72 kB / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.3452, allocations: 79.78 kB / 414.5 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3454, allocations: 33.78 kB / 414.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.3455, allocations: 39.78 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.3456, allocations: 40.28 kB / 414.6 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.3457, allocations: 4.75 kB / 414.6 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.769e-05/0.3457, allocations: 7.938 kB / 414.6 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.3458, allocations: 29.2 kB / 414.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.3459, allocations: 69.39 kB / 414.7 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.346, allocations: 99.56 kB / 414.8 MB, free: 23.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.346, allocations: 0 / 414.8 MB, free: 23.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.346, allocations: 0.625 kB / 414.8 MB, free: 23.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3461, allocations: 3.75 kB / 414.8 MB, free: 23.12 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.0004748/0.3465, allocations: 408.6 kB / 415.2 MB, free: 22.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3466, allocations: 8.031 kB / 415.2 MB, free: 22.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.3467, allocations: 32.73 kB / 415.2 MB, free: 22.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.347, allocations: 216 kB / 415.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.347, allocations: 8.375 kB / 415.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.347, allocations: 20.36 kB / 415.5 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.3475, allocations: 274.4 kB / 415.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3475, allocations: 0 / 415.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3475, allocations: 4 kB / 415.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3475, allocations: 4 kB / 415.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.3477, allocations: 51.91 kB / 415.8 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.348, allocations: 302.5 kB / 416.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.3483, allocations: 143.7 kB / 416.2 MB, free: 21.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3484, allocations: 70.8 kB / 416.3 MB, free: 21.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.3484, allocations: 7.938 kB / 416.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.3485, allocations: 34.56 kB / 416.3 MB, free: 21.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.3485, allocations: 3.938 kB / 416.3 MB, free: 21.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.000365/0.3488, allocations: 181.5 kB / 416.5 MB, free: 21.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.3489, allocations: 114.8 kB / 416.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.349, allocations: 152.7 kB / 416.8 MB, free: 20.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.349, allocations: 29.7 kB / 416.8 MB, free: 20.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.3491, allocations: 92.12 kB / 416.9 MB, free: 20.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.3491, allocations: 23.92 kB / 416.9 MB, free: 20.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.3491, allocations: 4 kB / 416.9 MB, free: 20.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.3492, allocations: 322.8 kB / 417.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.3493, allocations: 31.92 kB / 417.3 MB, free: 20.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.637e-05/0.3494, allocations: 137.3 kB / 417.4 MB, free: 20.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.3495, allocations: 170.3 kB / 417.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3495, allocations: 4 kB / 417.6 MB, free: 19.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002152/0.3498, allocations: 177.7 kB / 417.7 MB, free: 19.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3498, allocations: 12.06 kB / 417.8 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3498, allocations: 4 kB / 417.8 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.3498, allocations: 7.984 kB / 417.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3499, allocations: 31.92 kB / 417.8 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.35, allocations: 7.938 kB / 417.8 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.843e-05/0.35, allocations: 23.78 kB / 417.8 MB, free: 19.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3501, allocations: 8 kB / 417.8 MB, free: 19.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.761e-05/0.3502, allocations: 145.6 kB / 418 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.3503, allocations: 113.8 kB / 418.1 MB, free: 19.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.741e-05/0.3504, allocations: 24.7 kB / 418.1 MB, free: 19.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3504, allocations: 4 kB / 418.1 MB, free: 19.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3504, allocations: 480 / 418.1 MB, free: 19.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3504, allocations: 3.938 kB / 418.1 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3506, allocations: 193.6 kB / 418.3 MB, free: 19.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3506, allocations: 4 kB / 418.3 MB, free: 19.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.3507, allocations: 27.98 kB / 418.3 MB, free: 19.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3507, allocations: 3.938 kB / 418.3 MB, free: 19.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3508, allocations: 3.938 kB / 418.3 MB, free: 19.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3508, allocations: 8 kB / 418.4 MB, free: 19.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3508, allocations: 3.984 kB / 418.4 MB, free: 19.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.351, allocations: 254.3 kB / 418.6 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.3511, allocations: 104.8 kB / 418.7 MB, free: 18.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.3511, allocations: 15.98 kB / 418.7 MB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.3512, allocations: 4 kB / 418.7 MB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.3513, allocations: 4 kB / 418.7 MB, free: 18.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3513, allocations: 11.94 kB / 418.7 MB, free: 18.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.289e-05/0.3513, allocations: 117.2 kB / 418.9 MB, free: 18.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3513, allocations: 0 / 418.9 MB, free: 18.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.3516, allocations: 20 kB / 418.9 MB, free: 18.55 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001577/0.3518, allocations: 115.2 kB / 419 MB, free: 18.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.3521, allocations: 107.8 kB / 419.1 MB, free: 18.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3521, allocations: 1.062 kB / 419.1 MB, free: 18.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.913e-05/0.3521, allocations: 11.98 kB / 419.1 MB, free: 18.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.3526, allocations: 81.55 kB / 419.2 MB, free: 18.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.3531, allocations: 319.7 kB / 419.5 MB, free: 17.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.3533, allocations: 0.7166 MB / 420.2 MB, free: 17.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.426e-05/0.3534, allocations: 9.422 kB / 420.2 MB, free: 17.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.3534, allocations: 23.44 kB / 420.2 MB, free: 17.11 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3534, allocations: 0 / 420.2 MB, free: 17.11 MB / 298.7 MB Notification: Performance of Templates: time 0.003471/0.3569, allocations: 1.109 MB / 421.4 MB, free: 16 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches