Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007239/0.0007238, allocations: 93.48 kB / 16.05 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.07793/0.07793, allocations: 12.63 MB / 29.4 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001492/0.0001492, allocations: 4 kB / 40.28 MB, free: 0.6172 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004387/0.004552, allocations: 2.835 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.SuperSample): time 1.513/1.517, allocations: 277.6 MB / 320.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006597/1.518, allocations: 468.4 kB / 321.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/1.518, allocations: 4 kB / 321.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/1.518, allocations: 7.922 kB / 321.2 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/1.518, allocations: 3.938 kB / 321.2 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/1.519, allocations: 52.44 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.588e-05/1.519, allocations: 51.36 kB / 321.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/1.519, allocations: 20.16 kB / 321.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.301e-05/1.519, allocations: 15.92 kB / 321.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/1.519, allocations: 19.86 kB / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/1.519, allocations: 4 kB / 321.3 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/1.519, allocations: 0 / 321.3 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/1.519, allocations: 19.52 kB / 321.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/1.519, allocations: 49.52 kB / 321.4 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.188e-05/1.519, allocations: 50.75 kB / 321.4 MB, free: 9.895 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.519, allocations: 0 / 321.4 MB, free: 9.895 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.133e-06/1.519, allocations: 0 / 321.4 MB, free: 9.895 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/1.519, allocations: 0 / 321.4 MB, free: 9.895 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003978/1.52, allocations: 363.3 kB / 321.8 MB, free: 9.492 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/1.52, allocations: 8.031 kB / 321.8 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/1.52, allocations: 21.3 kB / 321.8 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/1.52, allocations: 192.9 kB / 322 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/1.52, allocations: 384 / 322 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/1.52, allocations: 9.125 kB / 322 MB, free: 9.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/1.52, allocations: 116.3 kB / 322.1 MB, free: 9.098 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/1.52, allocations: 4.562 kB / 322.1 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/1.52, allocations: 0 / 322.1 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.52, allocations: 4.828 kB / 322.1 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.789e-05/1.52, allocations: 30.95 kB / 322.2 MB, free: 9.062 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/1.521, allocations: 278.5 kB / 322.4 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/1.521, allocations: 71.34 kB / 322.5 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/1.521, allocations: 32.75 kB / 322.5 MB, free: 8.602 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/1.521, allocations: 7.156 kB / 322.6 MB, free: 8.598 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/1.521, allocations: 42.55 kB / 322.6 MB, free: 8.547 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/1.521, allocations: 0 / 322.6 MB, free: 8.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002479/1.521, allocations: 91.61 kB / 322.7 MB, free: 8.453 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/1.521, allocations: 107.7 kB / 322.8 MB, free: 8.324 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/1.521, allocations: 143.2 kB / 322.9 MB, free: 8.176 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/1.521, allocations: 26.45 kB / 323 MB, free: 8.145 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/1.521, allocations: 89.42 kB / 323 MB, free: 8.055 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/1.521, allocations: 4 kB / 323 MB, free: 8.051 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/1.521, allocations: 0 / 323 MB, free: 8.051 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/1.521, allocations: 324.5 kB / 323.4 MB, free: 7.727 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/1.522, allocations: 8 kB / 323.4 MB, free: 7.719 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.716e-05/1.522, allocations: 36.52 kB / 323.4 MB, free: 7.672 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/1.522, allocations: 58.67 kB / 323.5 MB, free: 7.605 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.522, allocations: 0 / 323.5 MB, free: 7.605 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/1.522, allocations: 80.7 kB / 323.5 MB, free: 7.523 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/1.522, allocations: 4 kB / 323.5 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.522, allocations: 0 / 323.5 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/1.522, allocations: 8.031 kB / 323.6 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/1.522, allocations: 13.8 kB / 323.6 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.522, allocations: 3.938 kB / 323.6 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/1.522, allocations: 7.984 kB / 323.6 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/1.522, allocations: 0 / 323.6 MB, free: 7.488 MB / 250.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 7.725e-05/1.522, allocations: 131.2 kB / 323.7 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/1.522, allocations: 54.25 kB / 323.8 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/1.522, allocations: 11.88 kB / 323.8 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/1.522, allocations: 1.375 kB / 323.8 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.522, allocations: 4 kB / 323.8 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/1.522, allocations: 0 / 323.8 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/1.522, allocations: 173.6 kB / 323.9 MB, free: 7.055 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.522, allocations: 4.562 kB / 323.9 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/1.522, allocations: 12 kB / 324 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.522, allocations: 0 / 324 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/1.522, allocations: 3.984 kB / 324 MB, free: 7.035 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/1.523, allocations: 4 kB / 324 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/1.523, allocations: 3.938 kB / 324 MB, free: 7.027 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/1.523, allocations: 189 kB / 324.2 MB, free: 6.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/1.523, allocations: 93 kB / 324.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/1.523, allocations: 4 kB / 324.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/1.523, allocations: 0 / 324.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/1.523, allocations: 4 kB / 324.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/1.523, allocations: 0 / 324.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.177e-05/1.523, allocations: 109.3 kB / 324.4 MB, free: 6.598 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.523, allocations: 0 / 324.4 MB, free: 6.598 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002/1.523, allocations: 12 kB / 324.4 MB, free: 6.586 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: 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 8.606e-05/1.523, allocations: 103.2 kB / 324.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/1.523, allocations: 35.91 kB / 324.5 MB, free: 6.441 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.523, allocations: 0 / 324.5 MB, free: 6.441 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/1.523, allocations: 12.25 kB / 324.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/1.524, allocations: 35.89 kB / 324.6 MB, free: 6.395 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/1.524, allocations: 202.8 kB / 324.8 MB, free: 6.164 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/1.524, allocations: 0.6965 MB / 325.5 MB, free: 5.441 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.74e-05/1.524, allocations: 4 kB / 325.5 MB, free: 5.438 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/1.524, allocations: 11.44 kB / 325.5 MB, free: 5.426 MB / 250.7 MB Notification: Performance of SimCode: time 3.11e-07/1.524, allocations: 0 / 325.5 MB, free: 5.426 MB / 250.7 MB Notification: Performance of Templates: time 0.002181/1.527, allocations: 0.5524 MB / 326 MB, free: 4.883 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches