Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008835/0.0008836, allocations: 97.31 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.1055/0.1055, allocations: 12.63 MB / 29.4 MB, free: 5.777 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002155/0.0002155, allocations: 4 kB / 40.27 MB, free: 0.5078 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005869/0.006102, allocations: 2.831 MB / 43.11 MB, free: 5.953 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.AssignClockVectorized): time 1.579/1.585, allocations: 277 MB / 320.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002983/1.586, allocations: 124.6 kB / 320.2 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/1.586, allocations: 3.938 kB / 320.2 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.762e-05/1.586, allocations: 9.031 kB / 320.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/1.586, allocations: 15.91 kB / 320.3 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/1.586, allocations: 36.52 kB / 320.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.283e-05/1.586, allocations: 55.84 kB / 320.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/1.586, allocations: 66.03 kB / 320.4 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/1.586, allocations: 15.41 kB / 320.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/1.586, allocations: 27.8 kB / 320.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/1.586, allocations: 0 / 320.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/1.586, allocations: 4 kB / 320.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/1.586, allocations: 23.91 kB / 320.5 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/1.587, allocations: 65.31 kB / 320.6 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/1.587, allocations: 79.62 kB / 320.6 MB, free: 10.74 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.587, allocations: 0 / 320.6 MB, free: 10.74 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.533e-06/1.587, allocations: 0 / 320.6 MB, free: 10.74 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/1.587, allocations: 0.6562 kB / 320.6 MB, free: 10.74 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004013/1.587, allocations: 384.5 kB / 321 MB, free: 10.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/1.587, allocations: 12.03 kB / 321 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/1.587, allocations: 14.59 kB / 321 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/1.587, allocations: 206.5 kB / 321.2 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/1.587, allocations: 8.375 kB / 321.2 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/1.587, allocations: 4.375 kB / 321.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/1.588, allocations: 220.7 kB / 321.5 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.588, allocations: 3.984 kB / 321.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.588, allocations: 4.656 kB / 321.5 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/1.588, allocations: 0 / 321.5 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/1.588, allocations: 38.7 kB / 321.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/1.588, allocations: 185.6 kB / 321.7 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/1.588, allocations: 123.3 kB / 321.8 MB, free: 9.418 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/1.588, allocations: 73.86 kB / 321.9 MB, free: 9.344 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/1.588, allocations: 4 kB / 321.9 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/1.588, allocations: 43.66 kB / 321.9 MB, free: 9.289 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/1.588, allocations: 0 / 321.9 MB, free: 9.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002536/1.589, allocations: 151.1 kB / 322.1 MB, free: 9.137 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/1.589, allocations: 63.48 kB / 322.1 MB, free: 9.062 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/1.589, allocations: 149 kB / 322.3 MB, free: 8.906 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/1.589, allocations: 27.45 kB / 322.3 MB, free: 8.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/1.589, allocations: 88.47 kB / 322.4 MB, free: 8.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/1.589, allocations: 15.89 kB / 322.4 MB, free: 8.766 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/1.589, allocations: 4 kB / 322.4 MB, free: 8.762 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/1.589, allocations: 316.1 kB / 322.7 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/1.589, allocations: 19.98 kB / 322.8 MB, free: 8.426 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/1.589, allocations: 130.9 kB / 322.9 MB, free: 8.254 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/1.589, allocations: 144.2 kB / 323 MB, free: 8.07 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.589, allocations: 0 / 323 MB, free: 8.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000218/1.59, allocations: 168.5 kB / 323.2 MB, free: 7.902 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.59, allocations: 5.25 kB / 323.2 MB, free: 7.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.59, allocations: 4 kB / 323.2 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.59, allocations: 4 kB / 323.2 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/1.59, allocations: 35.92 kB / 323.2 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/1.59, allocations: 8.656 kB / 323.2 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/1.59, allocations: 12.41 kB / 323.3 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/1.59, allocations: 8 kB / 323.3 MB, free: 7.828 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001076/1.59, allocations: 153.5 kB / 323.4 MB, free: 7.668 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/1.59, allocations: 105.6 kB / 323.5 MB, free: 7.559 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/1.59, allocations: 21.17 kB / 323.5 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.59, allocations: 0 / 323.5 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.59, allocations: 0 / 323.5 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.59, allocations: 4 kB / 323.5 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/1.59, allocations: 197.4 kB / 323.7 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.59, allocations: 0 / 323.7 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/1.59, allocations: 27.92 kB / 323.8 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.59, allocations: 8 kB / 323.8 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/1.59, allocations: 0 / 323.8 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.59, allocations: 0 / 323.8 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/1.59, allocations: 0 / 323.8 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/1.591, allocations: 156.8 kB / 323.9 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/1.591, allocations: 96.98 kB / 324 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/1.591, allocations: 4 kB / 324 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.745e-05/1.591, allocations: 4 kB / 324 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-06/1.591, allocations: 7.938 kB / 324 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/1.591, allocations: 4 kB / 324 MB, free: 6.949 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.861e-05/1.591, allocations: 111.2 kB / 324.1 MB, free: 6.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.591, allocations: 0 / 324.1 MB, free: 6.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002058/1.591, allocations: 16 kB / 324.2 MB, free: 6.824 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.018e-05/1.591, allocations: 103.2 kB / 324.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/1.591, allocations: 92.22 kB / 324.3 MB, free: 6.625 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.591, allocations: 4 kB / 324.4 MB, free: 6.621 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/1.591, allocations: 0 / 324.4 MB, free: 6.621 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/1.592, allocations: 82.56 kB / 324.4 MB, free: 6.543 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/1.592, allocations: 276.1 kB / 324.7 MB, free: 6.246 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/1.592, allocations: 0.7126 MB / 325.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.058e-05/1.593, allocations: 4.656 kB / 325.4 MB, free: 5.504 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/1.593, allocations: 15.44 kB / 325.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of SimCode: time 2.31e-07/1.593, allocations: 4 kB / 325.4 MB, free: 5.484 MB / 250.7 MB Notification: Performance of Templates: time 0.002931/1.595, allocations: 0.9397 MB / 326.4 MB, free: 4.555 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches