Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002153/0.002153, allocations: 198 kB / 18.74 MB, free: 4.332 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.621/1.621, allocations: 227.7 MB / 247.2 MB, free: 10.2 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.002136/0.002136, allocations: 63.89 kB / 359 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3487, allocations: 50.55 MB / 409.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003697/0.3525, allocations: 1.529 MB / 411.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004902/0.353, allocations: 143.5 kB / 411.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3531, allocations: 4 kB / 411.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.3533, allocations: 3.938 kB / 411.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.3534, allocations: 7.922 kB / 411.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.3537, allocations: 43.84 kB / 411.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.3538, allocations: 39.84 kB / 411.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.354, allocations: 15.98 kB / 411.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.354, allocations: 19.92 kB / 411.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.3541, allocations: 15.92 kB / 411.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.3541, allocations: 4 kB / 411.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.3541, allocations: 4 kB / 411.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.3542, allocations: 11.94 kB / 411.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.3542, allocations: 27.8 kB / 411.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.3544, allocations: 55.69 kB / 411.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3544, allocations: 3.938 kB / 411.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3544, allocations: 0 / 411.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3544, allocations: 0 / 411.5 MB, free: 15.51 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.0006333/0.355, allocations: 375.2 kB / 411.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3551, allocations: 12.03 kB / 411.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.3551, allocations: 8.891 kB / 411.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.3555, allocations: 192.2 kB / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.3555, allocations: 4.375 kB / 412.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.3555, allocations: 8.359 kB / 412.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.3559, allocations: 122.4 kB / 412.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3559, allocations: 192 / 412.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.356, allocations: 7.938 kB / 412.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.356, allocations: 0 / 412.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.3561, allocations: 27.92 kB / 412.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.3566, allocations: 361.9 kB / 412.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.3568, allocations: 83.72 kB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/0.3569, allocations: 38.56 kB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.3569, allocations: 0 / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3569, allocations: 38.5 kB / 412.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3569, allocations: 0 / 412.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003228/0.3572, allocations: 93.89 kB / 412.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.3573, allocations: 114.8 kB / 412.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3575, allocations: 137.4 kB / 413.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3575, allocations: 29.7 kB / 413.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.3576, allocations: 88.12 kB / 413.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.3576, allocations: 11.94 kB / 413.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.3577, allocations: 21.72 kB / 413.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3578, allocations: 314.8 kB / 413.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.925e-05/0.3579, allocations: 15.98 kB / 413.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-05/0.3579, allocations: 35.42 kB / 413.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3581, allocations: 59.3 kB / 413.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3581, allocations: 0 / 413.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.3582, allocations: 73.56 kB / 413.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3582, allocations: 4 kB / 413.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3583, allocations: 4 kB / 413.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3583, allocations: 0 / 413.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.375e-05/0.3583, allocations: 3.938 kB / 413.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3583, allocations: 7.984 kB / 413.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.3584, allocations: 4.125 kB / 413.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3584, allocations: 8 kB / 413.7 MB, free: 12.95 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[1],sample1.u[2],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.000154/0.3585, allocations: 129.7 kB / 413.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/0.3586, allocations: 49.75 kB / 413.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.3587, allocations: 19.8 kB / 413.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3587, allocations: 4 kB / 413.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3587, allocations: 0 / 413.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3587, allocations: 4 kB / 413.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.359, allocations: 177.6 kB / 414.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.359, allocations: 3.938 kB / 414.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-06/0.359, allocations: 0 / 414.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.359, allocations: 3.938 kB / 414.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.359, allocations: 4 kB / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.359, allocations: 0 / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.359, allocations: 3.984 kB / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.3593, allocations: 259.6 kB / 414.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.3594, allocations: 92.98 kB / 414.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3594, allocations: 4 kB / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.3595, allocations: 0 / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.3596, allocations: 15.92 kB / 414.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3596, allocations: 0 / 414.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.894e-05/0.3597, allocations: 103.3 kB / 414.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3597, allocations: 4 kB / 414.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3599, allocations: 8 kB / 414.6 MB, free: 11.96 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[1],sample1.u[2],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.0001323/0.3601, allocations: 99.23 kB / 414.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.3602, allocations: 35.92 kB / 414.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3602, allocations: 0 / 414.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.049e-05/0.3603, allocations: 16.3 kB / 414.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.3607, allocations: 37.69 kB / 414.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.3611, allocations: 171.1 kB / 415 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.3615, allocations: 0.6924 MB / 415.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.886e-05/0.3616, allocations: 11.89 kB / 415.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.3616, allocations: 11.44 kB / 415.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3616, allocations: 96 / 415.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of Templates: time 0.003392/0.365, allocations: 0.6228 MB / 416.3 MB, free: 10.25 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches