Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 104 kB / 16.31 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 190.5 kB / 17.24 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0883/0.0883, allocations: 12.6 MB / 283.1 MB, free: 15.49 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001875, allocations: 95.88 kB / 343.5 MB, free: 2.957 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3394, allocations: 49.38 MB / 392.9 MB, free: 49.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003236/0.3427, allocations: 1.52 MB / 394.4 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000533/0.3432, allocations: 147 kB / 394.5 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3434, allocations: 6.375 kB / 394.6 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.3435, allocations: 9.047 kB / 394.6 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.3436, allocations: 7.828 kB / 394.6 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.3439, allocations: 36.92 kB / 394.6 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.344, allocations: 45.77 kB / 394.6 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.3442, allocations: 15.86 kB / 394.7 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.3443, allocations: 15.41 kB / 394.7 MB, free: 47.97 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.3443, allocations: 19.62 kB / 394.7 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.3444, allocations: 3.781 kB / 394.7 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.3444, allocations: 6.625 kB / 394.7 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.125e-05/0.3445, allocations: 16.67 kB / 394.7 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.3445, allocations: 29.53 kB / 394.8 MB, free: 47.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.3447, allocations: 46.31 kB / 394.8 MB, free: 47.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3447, allocations: 1.219 kB / 394.8 MB, free: 47.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3447, allocations: 0 / 394.8 MB, free: 47.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.3447, allocations: 0 / 394.8 MB, free: 47.91 MB / 318.1 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.0006058/0.3453, allocations: 393.2 kB / 395.2 MB, free: 47.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.3454, allocations: 8.531 kB / 395.2 MB, free: 47.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.3455, allocations: 9.828 kB / 395.2 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.3457, allocations: 198.2 kB / 395.4 MB, free: 47.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3457, allocations: 1.562 kB / 395.4 MB, free: 47.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3457, allocations: 6.375 kB / 395.4 MB, free: 47.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.3461, allocations: 122.3 kB / 395.5 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3461, allocations: 192 / 395.5 MB, free: 47.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3462, allocations: 5.125 kB / 395.5 MB, free: 47.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.3462, allocations: 2.812 kB / 395.5 MB, free: 47.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3463, allocations: 33.56 kB / 395.6 MB, free: 47.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.3468, allocations: 372.8 kB / 395.9 MB, free: 46.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3469, allocations: 86.61 kB / 396 MB, free: 46.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.347, allocations: 41.11 kB / 396.1 MB, free: 46.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.347, allocations: 0 / 396.1 MB, free: 46.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3471, allocations: 33.33 kB / 396.1 MB, free: 46.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3471, allocations: 3.938 kB / 396.1 MB, free: 46.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003847/0.3475, allocations: 111.4 kB / 396.2 MB, free: 46.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.3475, allocations: 105.8 kB / 396.3 MB, free: 46.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.3477, allocations: 149 kB / 396.4 MB, free: 46.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.3477, allocations: 26.92 kB / 396.5 MB, free: 46.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.3477, allocations: 91.91 kB / 396.6 MB, free: 46.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.3477, allocations: 9.625 kB / 396.6 MB, free: 46.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.3478, allocations: 16.59 kB / 396.6 MB, free: 46.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.3479, allocations: 322.6 kB / 396.9 MB, free: 45.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.3479, allocations: 17.94 kB / 396.9 MB, free: 45.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.348, allocations: 40.19 kB / 397 MB, free: 45.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3481, allocations: 71.97 kB / 397 MB, free: 45.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3482, allocations: 5.25 kB / 397 MB, free: 45.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001718/0.3483, allocations: 85.89 kB / 397.1 MB, free: 45.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3484, allocations: 7.312 kB / 397.1 MB, free: 45.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3484, allocations: 4.125 kB / 397.1 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3484, allocations: 2.641 kB / 397.1 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.3485, allocations: 9.438 kB / 397.1 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3485, allocations: 8.25 kB / 397.1 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.109e-05/0.3486, allocations: 4.906 kB / 397.2 MB, free: 45.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3486, allocations: 0.5625 kB / 397.2 MB, free: 45.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[2],sample.u[1],sample.y[2],sample.y[1]) * 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.0001435/0.3487, allocations: 128.2 kB / 397.3 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.3488, allocations: 58.09 kB / 397.3 MB, free: 45.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.3488, allocations: 13.33 kB / 397.3 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.3489, allocations: 8.609 kB / 397.4 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3489, allocations: 4 kB / 397.4 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3489, allocations: 0.7031 kB / 397.4 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.3491, allocations: 175 kB / 397.5 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3491, allocations: 0 / 397.5 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.3491, allocations: 7.609 kB / 397.5 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3492, allocations: 2.094 kB / 397.5 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3492, allocations: 1.688 kB / 397.5 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3492, allocations: 4.594 kB / 397.5 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3492, allocations: 1.531 kB / 397.5 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3494, allocations: 268.9 kB / 397.8 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.3495, allocations: 89.02 kB / 397.9 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3495, allocations: 2.312 kB / 397.9 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.3496, allocations: 13.8 kB / 397.9 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.3496, allocations: 6.781 kB / 397.9 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3496, allocations: 1.562 kB / 397.9 MB, free: 45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.3497, allocations: 109.7 kB / 398 MB, free: 44.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3497, allocations: 0 / 398 MB, free: 44.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.35, allocations: 9.906 kB / 398 MB, free: 44.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[2],sample.u[1],sample.y[1],sample.y[2]) * 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 7.887e-05/0.3501, allocations: 95.56 kB / 398.1 MB, free: 44.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.3503, allocations: 52.52 kB / 398.2 MB, free: 44.81 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3503, allocations: 0 / 398.2 MB, free: 44.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.3503, allocations: 18.66 kB / 398.2 MB, free: 44.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.3508, allocations: 31.45 kB / 398.2 MB, free: 44.8 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.3511, allocations: 195.1 kB / 398.4 MB, free: 44.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.3513, allocations: 0.6917 MB / 399.1 MB, free: 43.92 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.626e-05/0.3513, allocations: 8.453 kB / 399.1 MB, free: 43.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.3513, allocations: 9.5 kB / 399.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3513, allocations: 4 kB / 399.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of Templates: time 0.002846/0.3542, allocations: 0.6259 MB / 399.8 MB, free: 43.61 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches