Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.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.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 95.98 kB / 16.04 MB, free: 5.602 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.1033/0.1033, allocations: 12.63 MB / 29.4 MB, free: 5.789 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001858/0.0001858, allocations: 4 kB / 40.28 MB, free: 0.4922 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.006237/0.006445, allocations: 2.827 MB / 43.11 MB, free: 5.941 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.UpSample2): time 1.56/1.566, allocations: 277.7 MB / 320.8 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009024/1.567, allocations: 0.5672 MB / 321.4 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/1.567, allocations: 7.938 kB / 321.4 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/1.568, allocations: 16.95 kB / 321.4 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/1.568, allocations: 28.91 kB / 321.5 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/1.568, allocations: 115.7 kB / 321.6 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/1.568, allocations: 145.6 kB / 321.7 MB, free: 9.609 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/1.568, allocations: 75.92 kB / 321.8 MB, free: 9.543 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/1.569, allocations: 63.69 kB / 321.9 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/1.569, allocations: 99.64 kB / 322 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/1.569, allocations: 4 kB / 322 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/1.569, allocations: 8 kB / 322 MB, free: 9.371 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.442e-05/1.569, allocations: 59.8 kB / 322 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.975e-05/1.569, allocations: 105.2 kB / 322.1 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/1.569, allocations: 199 kB / 322.3 MB, free: 9.012 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.569, allocations: 0 / 322.3 MB, free: 9.012 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.001e-06/1.569, allocations: 0 / 322.3 MB, free: 9.012 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/1.569, allocations: 0 / 322.3 MB, free: 9.012 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000685/1.57, allocations: 466.9 kB / 322.8 MB, free: 8.508 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/1.57, allocations: 12.03 kB / 322.8 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/1.57, allocations: 25.31 kB / 322.8 MB, free: 8.473 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/1.57, allocations: 259.7 kB / 323.1 MB, free: 8.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/1.57, allocations: 15.09 kB / 323.1 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/1.57, allocations: 16.38 kB / 323.1 MB, free: 8.152 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/1.571, allocations: 0.64 MB / 323.7 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.571, allocations: 0 / 323.7 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/1.571, allocations: 8 kB / 323.7 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/1.571, allocations: 16.52 kB / 323.8 MB, free: 7.469 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/1.572, allocations: 187.1 kB / 323.9 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/1.572, allocations: 367.5 kB / 324.3 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/1.573, allocations: 245.6 kB / 324.5 MB, free: 6.609 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/1.573, allocations: 155.7 kB / 324.7 MB, free: 6.449 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/1.573, allocations: 16.61 kB / 324.7 MB, free: 6.434 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/1.573, allocations: 40.84 kB / 324.8 MB, free: 6.387 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.433e-06/1.573, allocations: 0 / 324.8 MB, free: 6.387 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007969/1.574, allocations: 429.7 kB / 325.2 MB, free: 5.965 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/1.574, allocations: 136.6 kB / 325.3 MB, free: 5.809 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/1.574, allocations: 174.4 kB / 325.5 MB, free: 5.633 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/1.574, allocations: 33.7 kB / 325.5 MB, free: 5.594 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/1.574, allocations: 103.2 kB / 325.6 MB, free: 5.488 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/1.574, allocations: 47.47 kB / 325.7 MB, free: 5.441 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/1.574, allocations: 8 kB / 325.7 MB, free: 5.434 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/1.574, allocations: 334.8 kB / 326 MB, free: 5.098 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/1.575, allocations: 78.08 kB / 326.1 MB, free: 5.023 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/1.575, allocations: 320.1 kB / 326.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/1.575, allocations: 420.9 kB / 326.8 MB, free: 4.062 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.575, allocations: 4 kB / 326.8 MB, free: 4.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005382/1.576, allocations: 405 kB / 327.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.576, allocations: 8 kB / 327.2 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.576, allocations: 12 kB / 327.2 MB, free: 3.637 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/1.576, allocations: 8 kB / 327.2 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/1.576, allocations: 84.55 kB / 327.3 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/1.576, allocations: 19.94 kB / 327.3 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/1.576, allocations: 39.73 kB / 327.4 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/1.576, allocations: 24.31 kB / 327.4 MB, free: 3.465 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001566/1.576, allocations: 178.9 kB / 327.6 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/1.577, allocations: 293.3 kB / 327.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.607e-05/1.577, allocations: 42.64 kB / 327.9 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/1.577, allocations: 8 kB / 327.9 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.577, allocations: 4 kB / 327.9 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.577, allocations: 0 / 327.9 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/1.577, allocations: 249.2 kB / 328.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/1.577, allocations: 0 / 328.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/1.578, allocations: 63.91 kB / 328.2 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/1.578, allocations: 4 kB / 328.2 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/1.578, allocations: 19.91 kB / 328.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.578, allocations: 3.938 kB / 328.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.578, allocations: 0 / 328.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005443/1.578, allocations: 450.9 kB / 328.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.578, allocations: 120.8 kB / 328.8 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/1.578, allocations: 19.98 kB / 328.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/1.578, allocations: 19.98 kB / 328.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/1.579, allocations: 4 kB / 328.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/1.579, allocations: 11.98 kB / 328.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.139e-05/1.579, allocations: 127.2 kB / 329 MB, free: 1.781 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.579, allocations: 0 / 329 MB, free: 1.781 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000327/1.579, allocations: 44 kB / 329 MB, free: 1.738 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: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0001396/1.579, allocations: 125.9 kB / 329.1 MB, free: 1.605 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004615/1.58, allocations: 289.8 kB / 329.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.58, allocations: 0 / 329.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/1.58, allocations: 16.42 kB / 329.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/1.58, allocations: 226.8 kB / 329.7 MB, free: 1.09 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/1.582, allocations: 0.6183 MB / 330.3 MB, free: 444 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/1.582, allocations: 0.7841 MB / 331.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.822e-05/1.582, allocations: 22.28 kB / 331.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/1.582, allocations: 27.44 kB / 331.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of SimCode: time 2.61e-07/1.582, allocations: 4 kB / 331.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Templates: time 0.005154/1.587, allocations: 2.391 MB / 333.5 MB, free: 13.19 MB / 266.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches