Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008543/0.0008543, allocations: 99.62 kB / 16.05 MB, free: 5.59 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.08588/0.08588, allocations: 12.63 MB / 29.41 MB, free: 6.07 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.000167/0.0001671, allocations: 4 kB / 40.28 MB, free: 0.6016 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.00546/0.005644, allocations: 2.831 MB / 43.11 MB, free: 6.047 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.SuperSampleInterpolated): time 1.595/1.6, allocations: 277.6 MB / 320.7 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009572/1.601, allocations: 0.5258 MB / 321.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.27e-05/1.601, allocations: 0.5938 kB / 321.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/1.601, allocations: 3.938 kB / 321.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/1.602, allocations: 28.72 kB / 321.3 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/1.602, allocations: 60.44 kB / 321.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/1.602, allocations: 71.78 kB / 321.4 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/1.602, allocations: 37.42 kB / 321.4 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/1.602, allocations: 29.42 kB / 321.5 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/1.602, allocations: 39.77 kB / 321.5 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/1.602, allocations: 0 / 321.5 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/1.602, allocations: 4 kB / 321.5 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/1.603, allocations: 16.98 kB / 321.5 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.931e-05/1.603, allocations: 61.44 kB / 321.6 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/1.603, allocations: 83.36 kB / 321.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.603, allocations: 0 / 321.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.603, allocations: 0 / 321.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/1.603, allocations: 1.594 kB / 321.7 MB, free: 11.46 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005588/1.603, allocations: 384.6 kB / 322 MB, free: 11.04 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.603, allocations: 12.03 kB / 322.1 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/1.603, allocations: 8.844 kB / 322.1 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/1.604, allocations: 201.6 kB / 322.3 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/1.604, allocations: 8.375 kB / 322.3 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/1.604, allocations: 4.906 kB / 322.3 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/1.604, allocations: 234.2 kB / 322.5 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.604, allocations: 0 / 322.5 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/1.604, allocations: 0.5 kB / 322.5 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.604, allocations: 4 kB / 322.5 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/1.604, allocations: 62.2 kB / 322.6 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/1.605, allocations: 283.8 kB / 322.9 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/1.605, allocations: 101.9 kB / 322.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/1.605, allocations: 64.45 kB / 323 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/1.605, allocations: 10.02 kB / 323 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/1.605, allocations: 38.5 kB / 323.1 MB, free: 9.887 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/1.605, allocations: 0 / 323.1 MB, free: 9.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004047/1.606, allocations: 151.5 kB / 323.2 MB, free: 9.734 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/1.606, allocations: 119.9 kB / 323.3 MB, free: 9.594 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/1.606, allocations: 135.7 kB / 323.5 MB, free: 9.453 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/1.606, allocations: 30.2 kB / 323.5 MB, free: 9.418 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/1.606, allocations: 93.62 kB / 323.6 MB, free: 9.324 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/1.606, allocations: 15.89 kB / 323.6 MB, free: 9.309 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.606, allocations: 0 / 323.6 MB, free: 9.309 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/1.606, allocations: 319.4 kB / 323.9 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/1.606, allocations: 29.92 kB / 323.9 MB, free: 8.961 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/1.606, allocations: 88.09 kB / 324 MB, free: 8.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/1.606, allocations: 122.6 kB / 324.1 MB, free: 8.695 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.606, allocations: 5.125 kB / 324.1 MB, free: 8.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002202/1.607, allocations: 136.2 kB / 324.3 MB, free: 8.555 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.607, allocations: 11.98 kB / 324.3 MB, free: 8.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.607, allocations: 0 / 324.3 MB, free: 8.543 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.607, allocations: 5.75 kB / 324.3 MB, free: 8.539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/1.607, allocations: 31.92 kB / 324.3 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/1.607, allocations: 4 kB / 324.3 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/1.607, allocations: 12.72 kB / 324.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/1.607, allocations: 8 kB / 324.4 MB, free: 8.484 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000116/1.607, allocations: 130.3 kB / 324.5 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/1.607, allocations: 98.34 kB / 324.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/1.607, allocations: 13.34 kB / 324.6 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.607, allocations: 4 kB / 324.6 MB, free: 8.227 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.607, allocations: 0 / 324.6 MB, free: 8.227 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.607, allocations: 0.6562 kB / 324.6 MB, free: 8.227 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/1.608, allocations: 189.6 kB / 324.8 MB, free: 7.992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.608, allocations: 2.406 kB / 324.8 MB, free: 7.992 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/1.608, allocations: 23.92 kB / 324.8 MB, free: 7.969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/1.608, allocations: 4.625 kB / 324.8 MB, free: 7.965 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/1.608, allocations: 7.984 kB / 324.8 MB, free: 7.957 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.608, allocations: 0 / 324.8 MB, free: 7.957 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.608, allocations: 4 kB / 324.8 MB, free: 7.953 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/1.608, allocations: 231.9 kB / 325 MB, free: 7.707 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/1.608, allocations: 106.4 kB / 325.1 MB, free: 7.586 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/1.608, allocations: 7.938 kB / 325.2 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.346e-05/1.608, allocations: 8 kB / 325.2 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/1.608, allocations: 1.75 kB / 325.2 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/1.608, allocations: 7.984 kB / 325.2 MB, free: 7.562 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.883e-05/1.608, allocations: 105.7 kB / 325.3 MB, free: 7.461 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.608, allocations: 0 / 325.3 MB, free: 7.461 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002371/1.609, allocations: 17.03 kB / 325.3 MB, free: 7.445 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001081/1.609, allocations: 107.2 kB / 325.4 MB, free: 7.332 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002217/1.609, allocations: 78.53 kB / 325.5 MB, free: 7.258 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.609, allocations: 0.5938 kB / 325.5 MB, free: 7.258 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/1.609, allocations: 14.64 kB / 325.5 MB, free: 7.246 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/1.609, allocations: 67.81 kB / 325.6 MB, free: 7.18 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/1.61, allocations: 296.2 kB / 325.8 MB, free: 6.859 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/1.61, allocations: 0.7082 MB / 326.6 MB, free: 6.125 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.452e-05/1.61, allocations: 4.562 kB / 326.6 MB, free: 6.121 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/1.611, allocations: 11.44 kB / 326.6 MB, free: 6.109 MB / 250.7 MB Notification: Performance of SimCode: time 2e-07/1.611, allocations: 4.719 kB / 326.6 MB, free: 6.105 MB / 250.7 MB Notification: Performance of Templates: time 0.003061/1.614, allocations: 0.8716 MB / 327.4 MB, free: 5.246 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches