Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001614/0.001613, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.002051/0.002052, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 45.25 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1414, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003173/0.1447, allocations: 1.518 MB / 353 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004165/0.1451, allocations: 156.9 kB / 353.2 MB, free: 2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.1452, allocations: 4 kB / 353.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.353e-05/0.1453, allocations: 7.875 kB / 353.2 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.111e-05/0.1454, allocations: 3.938 kB / 353.2 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1457, allocations: 39.89 kB / 353.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.1458, allocations: 43.84 kB / 353.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1459, allocations: 12 kB / 353.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.146, allocations: 23.84 kB / 353.3 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.146, allocations: 15.94 kB / 353.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1461, allocations: 0 / 353.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.1461, allocations: 8 kB / 353.3 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.1461, allocations: 15.92 kB / 353.3 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.1462, allocations: 31.8 kB / 353.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.1463, allocations: 51.75 kB / 353.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1463, allocations: 0 / 353.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1463, allocations: 4 kB / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.1464, allocations: 0 / 353.4 MB, free: 1.742 MB / 286.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.0005491/0.1469, allocations: 387 kB / 353.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.147, allocations: 8.031 kB / 353.8 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.147, allocations: 12.84 kB / 353.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1473, allocations: 200.1 kB / 354 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1473, allocations: 4.375 kB / 354 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1473, allocations: 4.375 kB / 354 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.1476, allocations: 130.4 kB / 354.2 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1476, allocations: 4.188 kB / 354.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1476, allocations: 3.938 kB / 354.2 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.1477, allocations: 7.984 kB / 354.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.1478, allocations: 35.91 kB / 354.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.1482, allocations: 365.9 kB / 354.6 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1484, allocations: 83.72 kB / 354.6 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.462e-05/0.1485, allocations: 42.61 kB / 354.7 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.1485, allocations: 4 kB / 354.7 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1485, allocations: 34.5 kB / 354.7 MB, free: 236 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.1485, allocations: 0 / 354.7 MB, free: 236 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003387/0.1489, allocations: 105.8 kB / 354.8 MB, free: 124 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/0.149, allocations: 110.8 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1491, allocations: 140.8 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1491, allocations: 29.64 kB / 355.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.1492, allocations: 92.12 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.1492, allocations: 7.906 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1493, allocations: 21.66 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1494, allocations: 318.8 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.958e-05/0.1494, allocations: 23.98 kB / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.1495, allocations: 35.36 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1497, allocations: 63.41 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1497, allocations: 7.875 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000158/0.1498, allocations: 85.5 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1499, allocations: 4 kB / 355.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1499, allocations: 0 / 355.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1499, allocations: 4 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.734e-05/0.15, allocations: 16.11 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.15, allocations: 0 / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.15, allocations: 4 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1501, allocations: 4 kB / 355.8 MB, free: 15.09 MB / 302.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 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.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.0001071/0.1502, allocations: 129.7 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.1503, allocations: 49.61 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.1503, allocations: 11.86 kB / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.1503, allocations: 12.03 kB / 356 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1503, allocations: 0 / 356 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1503, allocations: 0 / 356 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.1506, allocations: 177.6 kB / 356.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1506, allocations: 7.984 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.1506, allocations: 4 kB / 356.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1506, allocations: 0 / 356.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1506, allocations: 4 kB / 356.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1506, allocations: 0 / 356.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1506, allocations: 0 / 356.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1509, allocations: 271.4 kB / 356.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.151, allocations: 93 kB / 356.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.151, allocations: 0 / 356.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1511, allocations: 11.98 kB / 356.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1512, allocations: 8 kB / 356.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.1512, allocations: 4 kB / 356.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.758e-05/0.1512, allocations: 107.2 kB / 356.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1512, allocations: 0 / 356.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1515, allocations: 8 kB / 356.7 MB, free: 14.1 MB / 302.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 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.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 0.0001271/0.1516, allocations: 107.1 kB / 356.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1518, allocations: 56.16 kB / 356.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1519, allocations: 0 / 356.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.1519, allocations: 19.86 kB / 356.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.1524, allocations: 35.06 kB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.1527, allocations: 183.1 kB / 357 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1531, allocations: 0.6966 MB / 357.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.127e-05/0.1531, allocations: 11.97 kB / 357.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.1532, allocations: 11.44 kB / 357.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1532, allocations: 0 / 357.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Templates: time 0.003229/0.1564, allocations: 0.6197 MB / 358.4 MB, free: 12.31 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches