Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008643/0.0008644, allocations: 93.27 kB / 16.04 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1119/0.1119, allocations: 12.63 MB / 29.41 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002248/0.0002249, allocations: 4 kB / 40.28 MB, free: 0.6172 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007378/0.007622, allocations: 2.833 MB / 43.11 MB, free: 6.059 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1): time 1.647/1.655, allocations: 277.7 MB / 320.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/1.656, allocations: 0.4936 MB / 321.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/1.656, allocations: 3.938 kB / 321.3 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/1.656, allocations: 3.938 kB / 321.3 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/1.656, allocations: 19.91 kB / 321.4 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/1.656, allocations: 79.75 kB / 321.4 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/1.657, allocations: 87.75 kB / 321.5 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/1.657, allocations: 50.47 kB / 321.6 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.512e-05/1.657, allocations: 39.72 kB / 321.6 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/1.657, allocations: 41.47 kB / 321.7 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/1.657, allocations: 4 kB / 321.7 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/1.657, allocations: 4 kB / 321.7 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/1.657, allocations: 19.91 kB / 321.7 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/1.657, allocations: 70.16 kB / 321.7 MB, free: 9.578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/1.657, allocations: 103.6 kB / 321.9 MB, free: 9.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.657, allocations: 3.094 kB / 321.9 MB, free: 9.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.657, allocations: 0 / 321.9 MB, free: 9.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/1.657, allocations: 0 / 321.9 MB, free: 9.477 MB / 250.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.0005206/1.658, allocations: 399.1 kB / 322.2 MB, free: 9.039 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/1.658, allocations: 8.031 kB / 322.3 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/1.658, allocations: 16.75 kB / 322.3 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/1.658, allocations: 216.6 kB / 322.5 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/1.658, allocations: 11.72 kB / 322.5 MB, free: 8.758 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/1.658, allocations: 12.38 kB / 322.5 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/1.659, allocations: 266.8 kB / 322.8 MB, free: 8.473 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.659, allocations: 4 kB / 322.8 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.659, allocations: 0 / 322.8 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/1.659, allocations: 0 / 322.8 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/1.659, allocations: 61.38 kB / 322.8 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/1.659, allocations: 301.2 kB / 323.1 MB, free: 8.062 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/1.659, allocations: 142 kB / 323.3 MB, free: 7.898 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/1.66, allocations: 87.2 kB / 323.3 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/1.66, allocations: 4.562 kB / 323.3 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/1.66, allocations: 37.62 kB / 323.4 MB, free: 7.758 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/1.66, allocations: 0 / 323.4 MB, free: 7.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004037/1.66, allocations: 178.4 kB / 323.6 MB, free: 7.578 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/1.66, allocations: 120.7 kB / 323.7 MB, free: 7.438 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/1.66, allocations: 152.5 kB / 323.8 MB, free: 7.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/1.66, allocations: 25.7 kB / 323.9 MB, free: 7.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/1.66, allocations: 100.1 kB / 323.9 MB, free: 7.148 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/1.66, allocations: 16.67 kB / 324 MB, free: 7.133 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/1.66, allocations: 4 kB / 324 MB, free: 7.129 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/1.661, allocations: 323.5 kB / 324.3 MB, free: 6.805 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/1.661, allocations: 34.67 kB / 324.3 MB, free: 6.773 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/1.661, allocations: 141.9 kB / 324.5 MB, free: 6.586 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/1.661, allocations: 174.6 kB / 324.6 MB, free: 6.371 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.661, allocations: 3.938 kB / 324.6 MB, free: 6.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002979/1.661, allocations: 181.6 kB / 324.8 MB, free: 6.184 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.661, allocations: 4 kB / 324.8 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.661, allocations: 4 kB / 324.8 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/1.661, allocations: 11.98 kB / 324.8 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/1.661, allocations: 31.92 kB / 324.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.662, allocations: 7.938 kB / 324.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/1.662, allocations: 19.84 kB / 324.9 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/1.662, allocations: 8 kB / 324.9 MB, free: 6.098 MB / 250.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 0.0001145/1.662, allocations: 145.8 kB / 325 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/1.662, allocations: 109.5 kB / 325.1 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/1.662, allocations: 21.17 kB / 325.2 MB, free: 5.809 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/1.662, allocations: 0 / 325.2 MB, free: 5.809 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.662, allocations: 4 kB / 325.2 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.662, allocations: 3.938 kB / 325.2 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/1.662, allocations: 201.5 kB / 325.4 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.662, allocations: 3.938 kB / 325.4 MB, free: 5.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/1.662, allocations: 27.92 kB / 325.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.662, allocations: 8 kB / 325.4 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.662, allocations: 4 kB / 325.4 MB, free: 5.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.662, allocations: 4 kB / 325.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.662, allocations: 0 / 325.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/1.663, allocations: 253 kB / 325.7 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/1.663, allocations: 104.8 kB / 325.8 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/1.663, allocations: 11.98 kB / 325.8 MB, free: 5.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/1.663, allocations: 4 kB / 325.8 MB, free: 5.102 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/1.663, allocations: 0 / 325.8 MB, free: 5.102 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/1.663, allocations: 11.88 kB / 325.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.031e-05/1.663, allocations: 115.2 kB / 325.9 MB, free: 4.977 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.663, allocations: 0 / 325.9 MB, free: 4.977 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002391/1.663, allocations: 20 kB / 325.9 MB, free: 4.957 MB / 250.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 9.81e-05/1.663, allocations: 107.2 kB / 326 MB, free: 4.844 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/1.664, allocations: 112.8 kB / 326.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.664, allocations: 0 / 326.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/1.664, allocations: 16.05 kB / 326.2 MB, free: 4.719 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/1.664, allocations: 74.2 kB / 326.2 MB, free: 4.648 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/1.665, allocations: 325 kB / 326.5 MB, free: 4.293 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/1.665, allocations: 0.7167 MB / 327.3 MB, free: 3.551 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.327e-05/1.665, allocations: 17.41 kB / 327.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/1.665, allocations: 15.44 kB / 327.3 MB, free: 3.52 MB / 250.7 MB Notification: Performance of SimCode: time 2.1e-07/1.665, allocations: 0 / 327.3 MB, free: 3.52 MB / 250.7 MB Notification: Performance of Templates: time 0.003117/1.668, allocations: 1.11 MB / 328.4 MB, free: 2.414 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches