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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.5 MB / 230.3 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008425/0.0008426, allocations: 91.61 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.904e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09644, allocations: 50.41 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.331/0.4275, allocations: 75.68 MB / 463.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.4277, allocations: 75.95 kB / 463.2 MB, free: 3.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003187/0.4309, allocations: 1.318 MB / 464.5 MB, free: 1.797 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4309, allocations: 3.938 kB / 464.5 MB, free: 1.793 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.431, allocations: 4 kB / 464.5 MB, free: 1.789 MB / 330.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.0003819/0.4314, allocations: 364.5 kB / 464.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4314, allocations: 8.031 kB / 464.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.4314, allocations: 11.86 kB / 464.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.4316, allocations: 200.7 kB / 465.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.4317, allocations: 0 / 465.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.4317, allocations: 4 kB / 465.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.212e-05/0.4318, allocations: 20 kB / 465.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.432, allocations: 105.9 kB / 465.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.432, allocations: 3.953 kB / 465.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.432, allocations: 4 kB / 465.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.432, allocations: 0 / 465.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.4324, allocations: 358.4 kB / 465.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.037e-05/0.4325, allocations: 55.86 kB / 465.6 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.4325, allocations: 26.58 kB / 465.7 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.4325, allocations: 11.98 kB / 465.7 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.4326, allocations: 34.52 kB / 465.7 MB, free: 424 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4326, allocations: 1.125 kB / 465.7 MB, free: 424 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001721/0.4328, allocations: 61.53 kB / 465.8 MB, free: 356 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4328, allocations: 110.8 kB / 465.9 MB, free: 220 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.4329, allocations: 131.1 kB / 466 MB, free: 84 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.433, allocations: 25.7 kB / 466 MB, free: 52 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.433, allocations: 88.14 kB / 466.1 MB, free: 15.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.866e-06/0.433, allocations: 3.906 kB / 466.1 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.433, allocations: 0 / 466.1 MB, free: 15.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.4331, allocations: 322.8 kB / 466.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.4332, allocations: 8 kB / 466.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.4332, allocations: 31.44 kB / 466.5 MB, free: 15.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.4332, allocations: 15.92 kB / 466.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.4332, allocations: 7.938 kB / 466.5 MB, free: 15.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.431e-05/0.4333, allocations: 53.62 kB / 466.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4333, allocations: 7.953 kB / 466.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4333, allocations: 4.125 kB / 466.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.4334, allocations: 4 kB / 466.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.4334, allocations: 12 kB / 466.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4335, allocations: 7.969 kB / 466.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.4335, allocations: 8 kB / 466.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.4335, allocations: 0 / 466.6 MB, free: 15.46 MB / 346.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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.134e-05/0.4336, allocations: 105 kB / 466.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.912e-05/0.4337, allocations: 57.53 kB / 466.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.4337, allocations: 15.92 kB / 466.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4337, allocations: 3.984 kB / 466.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4337, allocations: 0 / 466.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4337, allocations: 4 kB / 466.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.4339, allocations: 150.2 kB / 466.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4339, allocations: 4 kB / 466.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.434, allocations: 11.98 kB / 466.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.434, allocations: 0 / 466.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.434, allocations: 8.031 kB / 467 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.434, allocations: 0 / 467 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.434, allocations: 3.953 kB / 467 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.4342, allocations: 267 kB / 467.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.4342, allocations: 100.9 kB / 467.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.4343, allocations: 3.953 kB / 467.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.4344, allocations: 11.98 kB / 467.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.4344, allocations: 4 kB / 467.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.4344, allocations: 4 kB / 467.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.384e-05/0.4345, allocations: 103.3 kB / 467.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4345, allocations: 0 / 467.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.4347, allocations: 4 kB / 467.4 MB, free: 14.52 MB / 346.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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001092/0.4349, allocations: 107.2 kB / 467.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.849e-05/0.435, allocations: 19.94 kB / 467.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.435, allocations: 4 kB / 467.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.435, allocations: 8 kB / 467.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.4353, allocations: 20.7 kB / 467.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.4356, allocations: 141.5 kB / 467.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.4359, allocations: 0.6963 MB / 468.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.148e-05/0.436, allocations: 12.17 kB / 468.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.436, allocations: 11.38 kB / 468.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.436, allocations: 0 / 468.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of Templates: time 0.002215/0.4382, allocations: 0.5029 MB / 469 MB, free: 12.95 MB / 346.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches