Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008778/0.0008777, allocations: 178.7 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 223.3 MB / 241 MB, free: 11.8 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007755/0.0007755, allocations: 85.61 kB / 292.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002604, allocations: 4 kB / 351.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1933, allocations: 50.42 MB / 402.2 MB, free: 32.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001253/0.1946, allocations: 1.202 MB / 403.4 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.1949, allocations: 155.6 kB / 403.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.195, allocations: 0 / 403.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.023e-05/0.195, allocations: 7.406 kB / 403.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.1951, allocations: 11.94 kB / 403.6 MB, free: 31.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.1953, allocations: 35.89 kB / 403.6 MB, free: 31.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.727e-05/0.1954, allocations: 35.86 kB / 403.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.1955, allocations: 12 kB / 403.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.1955, allocations: 11.92 kB / 403.7 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.607e-05/0.1956, allocations: 20.95 kB / 403.7 MB, free: 31.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1956, allocations: 0 / 403.7 MB, free: 31.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.1956, allocations: 4 kB / 403.7 MB, free: 31.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.1956, allocations: 9.766 kB / 403.7 MB, free: 31.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.1957, allocations: 37.64 kB / 403.8 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.557e-05/0.1957, allocations: 31.94 kB / 403.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1957, allocations: 0 / 403.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1957, allocations: 0 / 403.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1957, allocations: 4.844 kB / 403.8 MB, free: 30.98 MB / 298.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.000309/0.1961, allocations: 361.6 kB / 404.1 MB, free: 30.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1961, allocations: 12.03 kB / 404.2 MB, free: 30.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.1961, allocations: 19.77 kB / 404.2 MB, free: 30.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1963, allocations: 194.8 kB / 404.4 MB, free: 30.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1963, allocations: 0 / 404.4 MB, free: 30.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1963, allocations: 4 kB / 404.4 MB, free: 30.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.1965, allocations: 121.9 kB / 404.5 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1965, allocations: 0 / 404.5 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1965, allocations: 4 kB / 404.5 MB, free: 30.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.1966, allocations: 3.984 kB / 404.5 MB, free: 30.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-05/0.1967, allocations: 39.86 kB / 404.5 MB, free: 30.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.197, allocations: 358 kB / 404.9 MB, free: 29.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/0.1971, allocations: 75.78 kB / 405 MB, free: 29.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.1971, allocations: 38.62 kB / 405 MB, free: 29.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.1972, allocations: 0 / 405 MB, free: 29.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.1972, allocations: 38.5 kB / 405 MB, free: 29.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1972, allocations: 0 / 405 MB, free: 29.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002396/0.1974, allocations: 109.6 kB / 405.1 MB, free: 29.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.1975, allocations: 106.8 kB / 405.2 MB, free: 29.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.1976, allocations: 140.5 kB / 405.4 MB, free: 29.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.1976, allocations: 25.7 kB / 405.4 MB, free: 29.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.1976, allocations: 88.14 kB / 405.5 MB, free: 29.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.806e-06/0.1976, allocations: 3.906 kB / 405.5 MB, free: 29.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/0.1976, allocations: 4.188 kB / 405.5 MB, free: 29.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.883e-05/0.1977, allocations: 322.8 kB / 405.8 MB, free: 28.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.1977, allocations: 12 kB / 405.8 MB, free: 28.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.144e-05/0.1978, allocations: 43.3 kB / 405.9 MB, free: 28.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.1978, allocations: 23.92 kB / 405.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1978, allocations: 0 / 405.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001159/0.1979, allocations: 81.52 kB / 406 MB, free: 28.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.198, allocations: 4 kB / 406 MB, free: 28.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.198, allocations: 0 / 406 MB, free: 28.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.198, allocations: 12.08 kB / 406 MB, free: 28.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.68e-05/0.198, allocations: 3.938 kB / 406 MB, free: 28.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.198, allocations: 0 / 406 MB, free: 28.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.1981, allocations: 4 kB / 406 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1981, allocations: 4 kB / 406 MB, free: 28.48 MB / 298.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/0.1982, allocations: 125.8 kB / 406.1 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.1982, allocations: 49.59 kB / 406.2 MB, free: 28.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.1983, allocations: 11.88 kB / 406.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.1983, allocations: 11.98 kB / 406.2 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1983, allocations: 3.984 kB / 406.2 MB, free: 28.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1983, allocations: 0 / 406.2 MB, free: 28.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.1985, allocations: 169.7 kB / 406.4 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1985, allocations: 0 / 406.4 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.1985, allocations: 7.938 kB / 406.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1985, allocations: 0 / 406.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.1985, allocations: 0 / 406.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1985, allocations: 4 kB / 406.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1985, allocations: 3.953 kB / 406.4 MB, free: 28.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.1987, allocations: 259.6 kB / 406.6 MB, free: 27.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.1987, allocations: 89.09 kB / 406.7 MB, free: 27.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1987, allocations: 3.984 kB / 406.7 MB, free: 27.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.1988, allocations: 8 kB / 406.7 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1988, allocations: 11.89 kB / 406.7 MB, free: 27.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1989, allocations: 4 kB / 406.7 MB, free: 27.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.188e-05/0.1989, allocations: 113.7 kB / 406.9 MB, free: 27.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1989, allocations: 0 / 406.9 MB, free: 27.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002293/0.1991, allocations: 4 kB / 406.9 MB, free: 27.51 MB / 298.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 () * 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 (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 7.37e-05/0.1992, allocations: 99.25 kB / 407 MB, free: 27.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.1994, allocations: 47.91 kB / 407 MB, free: 27.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1994, allocations: 0 / 407 MB, free: 27.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.1994, allocations: 12 kB / 407 MB, free: 27.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1998, allocations: 27.95 kB / 407 MB, free: 27.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.2, allocations: 224.5 kB / 407.3 MB, free: 27.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.2001, allocations: 0.6926 MB / 408 MB, free: 26.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.2002, allocations: 11.38 kB / 408 MB, free: 26.33 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2002, allocations: 0 / 408 MB, free: 26.33 MB / 298.7 MB Notification: Performance of Templates: time 0.001657/0.2018, allocations: 0.7955 MB / 408.8 MB, free: 25.54 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches