Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007057/0.0007057, allocations: 92.25 kB / 16.04 MB, free: 5.598 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.07327/0.07327, allocations: 12.62 MB / 29.4 MB, free: 5.547 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001631/0.0001631, allocations: 4 kB / 40.28 MB, free: 432 kB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004978/0.005155, allocations: 2.827 MB / 43.11 MB, free: 5.871 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.SampleVectorizedAndClocked): time 1.628/1.633, allocations: 277.6 MB / 320.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007131/1.634, allocations: 453.2 kB / 321.2 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/1.634, allocations: 0 / 321.2 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.492e-05/1.634, allocations: 8.703 kB / 321.2 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.454e-05/1.634, allocations: 7.938 kB / 321.2 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/1.635, allocations: 44.42 kB / 321.2 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/1.635, allocations: 60.91 kB / 321.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/1.635, allocations: 37.78 kB / 321.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/1.635, allocations: 19.92 kB / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/1.635, allocations: 27.3 kB / 321.4 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/1.635, allocations: 4 kB / 321.4 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/1.635, allocations: 0 / 321.4 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/1.635, allocations: 15.92 kB / 321.4 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/1.635, allocations: 57.44 kB / 321.4 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/1.635, allocations: 62.67 kB / 321.5 MB, free: 9.852 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.635, allocations: 4 kB / 321.5 MB, free: 9.848 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.015e-06/1.635, allocations: 0 / 321.5 MB, free: 9.848 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/1.635, allocations: 3.938 kB / 321.5 MB, free: 9.844 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000486/1.636, allocations: 382.9 kB / 321.9 MB, free: 9.426 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.636, allocations: 12.03 kB / 321.9 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/1.636, allocations: 8.844 kB / 321.9 MB, free: 9.406 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/1.636, allocations: 196.1 kB / 322.1 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/1.636, allocations: 4.312 kB / 322.1 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/1.636, allocations: 4.375 kB / 322.1 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/1.637, allocations: 133.6 kB / 322.2 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/1.637, allocations: 0 / 322.2 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.637, allocations: 4 kB / 322.2 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/1.637, allocations: 0.625 kB / 322.2 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/1.637, allocations: 54.33 kB / 322.3 MB, free: 8.965 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/1.637, allocations: 384.4 kB / 322.7 MB, free: 8.535 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/1.637, allocations: 87.72 kB / 322.7 MB, free: 8.426 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/1.637, allocations: 43.72 kB / 322.8 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/1.638, allocations: 0 / 322.8 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/1.638, allocations: 44.48 kB / 322.8 MB, free: 8.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/1.638, allocations: 0 / 322.8 MB, free: 8.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003498/1.638, allocations: 126.2 kB / 323 MB, free: 8.199 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/1.638, allocations: 114.7 kB / 323.1 MB, free: 8.062 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/1.638, allocations: 153.1 kB / 323.2 MB, free: 7.906 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/1.638, allocations: 25.7 kB / 323.2 MB, free: 7.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/1.638, allocations: 93.33 kB / 323.3 MB, free: 7.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/1.638, allocations: 7.891 kB / 323.3 MB, free: 7.773 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/1.638, allocations: 4 kB / 323.3 MB, free: 7.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/1.638, allocations: 323.6 kB / 323.7 MB, free: 7.445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/1.638, allocations: 21.2 kB / 323.7 MB, free: 7.426 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/1.639, allocations: 49.19 kB / 323.7 MB, free: 7.367 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/1.639, allocations: 71.25 kB / 323.8 MB, free: 7.289 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/1.639, allocations: 1.375 kB / 323.8 MB, free: 7.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000194/1.639, allocations: 106.6 kB / 323.9 MB, free: 7.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.639, allocations: 4 kB / 323.9 MB, free: 7.176 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.639, allocations: 4 kB / 323.9 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.585e-05/1.639, allocations: 4 kB / 323.9 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.639, allocations: 15.92 kB / 323.9 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/1.639, allocations: 4 kB / 323.9 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/1.639, allocations: 7.938 kB / 323.9 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/1.639, allocations: 0 / 323.9 MB, free: 7.141 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 0.0001097/1.639, allocations: 129.9 kB / 324.1 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/1.639, allocations: 53.59 kB / 324.1 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/1.639, allocations: 7.875 kB / 324.1 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.639, allocations: 4 kB / 324.1 MB, free: 6.93 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/1.639, allocations: 0 / 324.1 MB, free: 6.93 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.639, allocations: 3.938 kB / 324.1 MB, free: 6.926 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/1.64, allocations: 185.6 kB / 324.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.64, allocations: 0 / 324.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/1.64, allocations: 19.95 kB / 324.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.64, allocations: 0 / 324.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/1.64, allocations: 0 / 324.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.64, allocations: 4 kB / 324.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.64, allocations: 0 / 324.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/1.64, allocations: 291.5 kB / 324.6 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/1.64, allocations: 96.91 kB / 324.7 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/1.64, allocations: 0 / 324.7 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/1.64, allocations: 8 kB / 324.7 MB, free: 6.246 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/1.64, allocations: 11.86 kB / 324.7 MB, free: 6.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/1.64, allocations: 0 / 324.7 MB, free: 6.234 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.62e-05/1.64, allocations: 125.3 kB / 324.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.64, allocations: 0 / 324.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002252/1.641, allocations: 4 kB / 324.9 MB, free: 6.109 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.771e-05/1.641, allocations: 100.3 kB / 325 MB, free: 6.004 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/1.641, allocations: 68.02 kB / 325 MB, free: 5.938 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/1.641, allocations: 4 kB / 325 MB, free: 5.934 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-05/1.641, allocations: 19.98 kB / 325.1 MB, free: 5.914 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/1.641, allocations: 24.02 kB / 325.1 MB, free: 5.891 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/1.642, allocations: 233.9 kB / 325.3 MB, free: 5.629 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/1.642, allocations: 0.7043 MB / 326 MB, free: 4.898 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.185e-05/1.642, allocations: 8 kB / 326 MB, free: 4.891 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/1.642, allocations: 11.42 kB / 326 MB, free: 4.879 MB / 250.7 MB Notification: Performance of SimCode: time 2.2e-07/1.642, allocations: 0 / 326 MB, free: 4.879 MB / 250.7 MB Notification: Performance of Templates: time 0.00245/1.645, allocations: 0.6147 MB / 326.6 MB, free: 4.273 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches