Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009034/0.0009034, allocations: 99.33 kB / 16.04 MB, free: 5.168 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.1126/0.1126, allocations: 12.63 MB / 29.41 MB, free: 5.652 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002074/0.0002074, allocations: 4 kB / 40.28 MB, free: 428 kB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007642/0.007871, allocations: 2.832 MB / 43.11 MB, free: 5.863 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.BackSample): time 1.749/1.757, allocations: 277.6 MB / 320.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007398/1.758, allocations: 479.4 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/1.758, allocations: 3.938 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/1.758, allocations: 10.08 kB / 321.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/1.758, allocations: 11.94 kB / 321.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/1.759, allocations: 51.89 kB / 321.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.269e-05/1.759, allocations: 47.8 kB / 321.3 MB, free: 10 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/1.759, allocations: 36.98 kB / 321.3 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.285e-05/1.759, allocations: 24.98 kB / 321.4 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/1.759, allocations: 19.86 kB / 321.4 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/1.759, allocations: 6.734 kB / 321.4 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/1.759, allocations: 0 / 321.4 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/1.759, allocations: 15.94 kB / 321.4 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/1.759, allocations: 53.44 kB / 321.5 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/1.759, allocations: 66.67 kB / 321.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.759, allocations: 0 / 321.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.759, allocations: 0 / 321.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/1.759, allocations: 0 / 321.5 MB, free: 9.785 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005039/1.76, allocations: 381.8 kB / 321.9 MB, free: 9.367 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.76, allocations: 8.031 kB / 321.9 MB, free: 9.359 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/1.76, allocations: 8.844 kB / 321.9 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/1.76, allocations: 204.1 kB / 322.1 MB, free: 9.113 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/1.76, allocations: 5.438 kB / 322.1 MB, free: 9.109 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/1.76, allocations: 4.375 kB / 322.1 MB, free: 9.105 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/1.76, allocations: 153.6 kB / 322.3 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.76, allocations: 0 / 322.3 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/1.76, allocations: 5.312 kB / 322.3 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.76, allocations: 4 kB / 322.3 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.792e-05/1.76, allocations: 28.58 kB / 322.3 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/1.761, allocations: 294 kB / 322.6 MB, free: 8.555 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/1.761, allocations: 97.36 kB / 322.7 MB, free: 8.426 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.646e-05/1.761, allocations: 49.3 kB / 322.7 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/1.761, allocations: 1.531 kB / 322.7 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/1.761, allocations: 43.34 kB / 322.8 MB, free: 8.316 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/1.761, allocations: 0 / 322.8 MB, free: 8.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.000301/1.761, allocations: 109.3 kB / 322.9 MB, free: 8.207 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/1.761, allocations: 136.5 kB / 323 MB, free: 8.043 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/1.762, allocations: 151 kB / 323.2 MB, free: 7.891 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/1.762, allocations: 25.7 kB / 323.2 MB, free: 7.859 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/1.762, allocations: 92.14 kB / 323.3 MB, free: 7.766 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/1.762, allocations: 3.938 kB / 323.3 MB, free: 7.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/1.762, allocations: 4.594 kB / 323.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/1.762, allocations: 323.5 kB / 323.6 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/1.762, allocations: 17.14 kB / 323.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/1.762, allocations: 47.25 kB / 323.7 MB, free: 7.355 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/1.762, allocations: 74.47 kB / 323.7 MB, free: 7.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.762, allocations: 0 / 323.7 MB, free: 7.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001512/1.762, allocations: 90.33 kB / 323.8 MB, free: 7.176 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.762, allocations: 4 kB / 323.8 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.762, allocations: 1.156 kB / 323.8 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.762, allocations: 4 kB / 323.8 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/1.762, allocations: 16.94 kB / 323.9 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/1.762, allocations: 0 / 323.9 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/1.762, allocations: 13.27 kB / 323.9 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/1.762, allocations: 4 kB / 323.9 MB, free: 7.137 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 8.41e-05/1.763, allocations: 125.7 kB / 324 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/1.763, allocations: 62.75 kB / 324.1 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/1.763, allocations: 23.95 kB / 324.1 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.763, allocations: 4 kB / 324.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.763, allocations: 0 / 324.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.763, allocations: 4 kB / 324.1 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/1.763, allocations: 177.6 kB / 324.3 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.763, allocations: 0 / 324.3 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.961e-05/1.763, allocations: 15.94 kB / 324.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/1.763, allocations: 3.938 kB / 324.3 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/1.763, allocations: 4 kB / 324.3 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.763, allocations: 8.109 kB / 324.3 MB, free: 6.648 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.763, allocations: 0 / 324.3 MB, free: 6.648 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/1.763, allocations: 202 kB / 324.5 MB, free: 6.426 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/1.763, allocations: 96.94 kB / 324.6 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/1.763, allocations: 8 kB / 324.6 MB, free: 6.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/1.763, allocations: 4 kB / 324.6 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/1.763, allocations: 7.875 kB / 324.6 MB, free: 6.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/1.763, allocations: 7.984 kB / 324.6 MB, free: 6.285 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.417e-05/1.764, allocations: 113.5 kB / 324.7 MB, free: 6.176 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.764, allocations: 0 / 324.7 MB, free: 6.176 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002096/1.764, allocations: 7.984 kB / 324.7 MB, free: 6.168 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.811e-05/1.764, allocations: 103.9 kB / 324.8 MB, free: 6.059 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/1.764, allocations: 43.92 kB / 324.9 MB, free: 6.016 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.764, allocations: 0 / 324.9 MB, free: 6.016 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/1.764, allocations: 15.98 kB / 324.9 MB, free: 6 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/1.764, allocations: 48.53 kB / 324.9 MB, free: 5.953 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/1.765, allocations: 239.5 kB / 325.2 MB, free: 5.684 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/1.765, allocations: 0.6965 MB / 325.9 MB, free: 4.961 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.604e-05/1.765, allocations: 12.64 kB / 325.9 MB, free: 4.945 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/1.765, allocations: 11.44 kB / 325.9 MB, free: 4.938 MB / 250.7 MB Notification: Performance of SimCode: time 2.41e-07/1.765, allocations: 0 / 325.9 MB, free: 4.938 MB / 250.7 MB Notification: Performance of Templates: time 0.002581/1.768, allocations: 0.7763 MB / 326.7 MB, free: 4.176 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches