Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 112.9 kB / 17.82 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001859/0.001859, allocations: 208.6 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.624/1.624, allocations: 230.4 MB / 250 MB, free: 9.09 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 59.84 kB / 367.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3549, allocations: 53.31 MB / 420.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003086/0.358, allocations: 1.554 MB / 422.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004239/0.3584, allocations: 143.5 kB / 422.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.3585, allocations: 0 / 422.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.3586, allocations: 15.86 kB / 422.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/0.3587, allocations: 7.938 kB / 422.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.3589, allocations: 39.89 kB / 422.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.3591, allocations: 43.8 kB / 422.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3592, allocations: 15.98 kB / 422.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.3592, allocations: 15.94 kB / 422.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.023e-05/0.3593, allocations: 15.92 kB / 422.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3593, allocations: 4 kB / 422.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.3593, allocations: 0 / 422.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.3594, allocations: 23.91 kB / 422.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.3594, allocations: 27.75 kB / 422.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3595, allocations: 51.61 kB / 422.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3595, allocations: 0 / 422.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3595, allocations: 0 / 422.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3595, allocations: 7.938 kB / 422.6 MB, free: 6.41 MB / 334.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.0005499/0.3601, allocations: 383.1 kB / 423 MB, free: 5.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3601, allocations: 8.031 kB / 423 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.3602, allocations: 8.891 kB / 423 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.3604, allocations: 200.1 kB / 423.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3604, allocations: 4.375 kB / 423.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.3604, allocations: 384 / 423.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.3608, allocations: 126.5 kB / 423.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3608, allocations: 192 / 423.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3608, allocations: 3.938 kB / 423.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.3608, allocations: 4 kB / 423.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.3609, allocations: 39.91 kB / 423.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.3614, allocations: 365.9 kB / 423.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3615, allocations: 87.7 kB / 423.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.3616, allocations: 42.62 kB / 423.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.3616, allocations: 0 / 423.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3616, allocations: 38.5 kB / 423.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3617, allocations: 0 / 423.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003589/0.362, allocations: 117.4 kB / 424 MB, free: 4.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.3621, allocations: 102.8 kB / 424.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3622, allocations: 145.8 kB / 424.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3622, allocations: 25.7 kB / 424.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.3623, allocations: 92.45 kB / 424.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.3623, allocations: 11.94 kB / 424.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.3623, allocations: 25.66 kB / 424.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3625, allocations: 314.8 kB / 424.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.3625, allocations: 11.98 kB / 424.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.117e-05/0.3626, allocations: 43.41 kB / 424.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.3627, allocations: 67.34 kB / 424.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3627, allocations: 3.938 kB / 424.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001717/0.3629, allocations: 77.56 kB / 424.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3629, allocations: 8 kB / 424.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3629, allocations: 0 / 424.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3629, allocations: 3.984 kB / 424.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.363, allocations: 12 kB / 424.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.363, allocations: 0 / 424.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.3631, allocations: 11.98 kB / 424.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3631, allocations: 3.938 kB / 424.9 MB, free: 3.762 MB / 334.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.0001125/0.3632, allocations: 125.9 kB / 425.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.3633, allocations: 49.64 kB / 425.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.3633, allocations: 23.81 kB / 425.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.3633, allocations: 4.094 kB / 425.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3633, allocations: 0 / 425.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.3633, allocations: 3.984 kB / 425.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.3636, allocations: 173.6 kB / 425.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3636, allocations: 4 kB / 425.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.3636, allocations: 7.984 kB / 425.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3636, allocations: 4.031 kB / 425.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3636, allocations: 8 kB / 425.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3636, allocations: 3.938 kB / 425.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3636, allocations: 0 / 425.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3639, allocations: 263.5 kB / 425.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.364, allocations: 97.05 kB / 425.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.364, allocations: 3.984 kB / 425.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.3641, allocations: 11.92 kB / 425.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3641, allocations: 0 / 425.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3641, allocations: 4 kB / 425.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.568e-05/0.3642, allocations: 110 kB / 425.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3642, allocations: 0 / 425.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.3645, allocations: 12 kB / 425.8 MB, free: 2.762 MB / 334.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.0001162/0.3646, allocations: 107.1 kB / 425.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.3648, allocations: 43.91 kB / 426 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3648, allocations: 0 / 426 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.3648, allocations: 19.98 kB / 426 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.3652, allocations: 30.81 kB / 426 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.3656, allocations: 199.1 kB / 426.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3659, allocations: 0.6885 MB / 426.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.92e-05/0.366, allocations: 7.984 kB / 426.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.366, allocations: 11.44 kB / 426.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.366, allocations: 0 / 426.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of Templates: time 0.003397/0.3694, allocations: 0.6383 MB / 427.6 MB, free: 1 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches