Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 94.19 kB / 16.04 MB, free: 5.246 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.08118/0.08118, allocations: 12.63 MB / 29.4 MB, free: 5.898 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001569/0.0001569, allocations: 4 kB / 40.28 MB, free: 0.5156 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004734/0.004905, allocations: 2.826 MB / 43.1 MB, free: 5.965 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.SubSample): time 1.605/1.61, allocations: 277.6 MB / 320.7 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006709/1.611, allocations: 452.8 kB / 321.1 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/1.611, allocations: 6.344 kB / 321.1 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/1.611, allocations: 0 / 321.1 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/1.611, allocations: 11.92 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/1.612, allocations: 39.91 kB / 321.2 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.963e-05/1.612, allocations: 39.86 kB / 321.2 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/1.612, allocations: 39.69 kB / 321.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/1.612, allocations: 15.88 kB / 321.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/1.612, allocations: 15.92 kB / 321.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/1.612, allocations: 0 / 321.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/1.612, allocations: 4 kB / 321.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/1.612, allocations: 15.91 kB / 321.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/1.612, allocations: 53.45 kB / 321.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.656e-05/1.612, allocations: 58.28 kB / 321.4 MB, free: 9.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.612, allocations: 0 / 321.4 MB, free: 9.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.312e-06/1.612, allocations: 0 / 321.4 MB, free: 9.957 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.075e-06/1.612, allocations: 0 / 321.4 MB, free: 9.957 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.000388/1.613, allocations: 363.3 kB / 321.8 MB, free: 9.555 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.613, allocations: 8.031 kB / 321.8 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/1.613, allocations: 12.75 kB / 321.8 MB, free: 9.535 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/1.613, allocations: 192.2 kB / 322 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/1.613, allocations: 9.125 kB / 322 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/1.613, allocations: 0.9375 kB / 322 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/1.613, allocations: 120.7 kB / 322.1 MB, free: 9.164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/1.613, allocations: 0 / 322.1 MB, free: 9.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/1.613, allocations: 0.625 kB / 322.1 MB, free: 9.164 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.613, allocations: 7.938 kB / 322.1 MB, free: 9.156 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/1.613, allocations: 30.05 kB / 322.1 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/1.614, allocations: 276.2 kB / 322.4 MB, free: 8.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.914e-05/1.614, allocations: 69.66 kB / 322.5 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/1.614, allocations: 41.41 kB / 322.5 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/1.614, allocations: 7.938 kB / 322.5 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/1.614, allocations: 36.2 kB / 322.6 MB, free: 8.613 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.614, allocations: 0 / 322.6 MB, free: 8.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002488/1.614, allocations: 87.55 kB / 322.6 MB, free: 8.523 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/1.614, allocations: 115.4 kB / 322.8 MB, free: 8.387 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/1.614, allocations: 141.2 kB / 322.9 MB, free: 8.242 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/1.614, allocations: 25.7 kB / 322.9 MB, free: 8.211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/1.614, allocations: 92.14 kB / 323 MB, free: 8.117 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/1.614, allocations: 0 / 323 MB, free: 8.117 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/1.614, allocations: 0 / 323 MB, free: 8.117 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/1.614, allocations: 328.5 kB / 323.3 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/1.614, allocations: 4 kB / 323.3 MB, free: 7.785 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/1.615, allocations: 41.11 kB / 323.4 MB, free: 7.734 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.249e-05/1.615, allocations: 54.27 kB / 323.4 MB, free: 7.672 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/1.615, allocations: 0.75 kB / 323.4 MB, free: 7.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00013/1.615, allocations: 79.42 kB / 323.5 MB, free: 7.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.615, allocations: 4 kB / 323.5 MB, free: 7.586 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.615, allocations: 5.375 kB / 323.5 MB, free: 7.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/1.615, allocations: 3.938 kB / 323.5 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/1.615, allocations: 11.98 kB / 323.5 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.615, allocations: 1.375 kB / 323.5 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/1.615, allocations: 4 kB / 323.5 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/1.615, allocations: 4 kB / 323.5 MB, free: 7.559 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.794e-05/1.615, allocations: 127.2 kB / 323.7 MB, free: 7.426 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/1.615, allocations: 62.03 kB / 323.7 MB, free: 7.359 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/1.615, allocations: 7.875 kB / 323.7 MB, free: 7.348 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.615, allocations: 7.984 kB / 323.7 MB, free: 7.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/1.615, allocations: 0 / 323.7 MB, free: 7.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/1.615, allocations: 0 / 323.7 MB, free: 7.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/1.615, allocations: 173.6 kB / 323.9 MB, free: 7.121 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.615, allocations: 0 / 323.9 MB, free: 7.121 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/1.615, allocations: 15.92 kB / 323.9 MB, free: 7.105 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.615, allocations: 0 / 323.9 MB, free: 7.105 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/1.615, allocations: 4 kB / 323.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.615, allocations: 4.062 kB / 323.9 MB, free: 7.098 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.615, allocations: 0 / 323.9 MB, free: 7.098 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/1.616, allocations: 185 kB / 324.1 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/1.616, allocations: 93.14 kB / 324.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/1.616, allocations: 8 kB / 324.2 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/1.616, allocations: 8 kB / 324.2 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/1.616, allocations: 7.969 kB / 324.2 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/1.616, allocations: 4 kB / 324.2 MB, free: 6.758 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.645e-05/1.616, allocations: 109.3 kB / 324.3 MB, free: 6.652 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.616, allocations: 0 / 324.3 MB, free: 6.652 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001965/1.616, allocations: 4 kB / 324.3 MB, free: 6.648 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 9.09e-05/1.616, allocations: 103.2 kB / 324.4 MB, free: 6.539 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/1.616, allocations: 43.92 kB / 324.5 MB, free: 6.496 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.616, allocations: 0 / 324.5 MB, free: 6.496 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/1.616, allocations: 8 kB / 324.5 MB, free: 6.488 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/1.617, allocations: 31.89 kB / 324.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/1.617, allocations: 207.1 kB / 324.7 MB, free: 6.223 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/1.617, allocations: 0.6926 MB / 325.4 MB, free: 5.504 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.765e-05/1.617, allocations: 8 kB / 325.4 MB, free: 5.496 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/1.617, allocations: 7.438 kB / 325.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of SimCode: time 2.21e-07/1.617, allocations: 0 / 325.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of Templates: time 0.002247/1.62, allocations: 0.5532 MB / 326 MB, free: 4.945 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches