Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 95.5 kB / 21.2 MB, free: 3.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009947/0.0009947, allocations: 160.5 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.044/1.044, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.314e-05, allocations: 6.25 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001987/0.00201, allocations: 1.584 MB / 274.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000315/0.002325, allocations: 147.5 kB / 274.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.002398, allocations: 3.938 kB / 274.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.002505, allocations: 7.922 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/0.002591, allocations: 7.938 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.002776, allocations: 43.81 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.102e-05/0.002867, allocations: 39.86 kB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.002972, allocations: 19.97 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.003018, allocations: 19.92 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.003053, allocations: 15.92 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.003074, allocations: 0 / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-06/0.003083, allocations: 4 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.003139, allocations: 15.94 kB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.00317, allocations: 15.97 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.003273, allocations: 35.84 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003275, allocations: 0 / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.003275, allocations: 0 / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.003279, allocations: 4 kB / 274.9 MB, free: 15.46 MB / 266.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.0003994/0.003678, allocations: 408.2 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.003717, allocations: 11.98 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.003755, allocations: 12.84 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.003933, allocations: 136.5 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.003955, allocations: 384 / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.003968, allocations: 4.375 kB / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.004218, allocations: 129.3 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.004227, allocations: 192 / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.00424, allocations: 8.359 kB / 275.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.004269, allocations: 4.375 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.581e-05/0.004295, allocations: 15.88 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.004648, allocations: 406.4 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.024e-05/0.004729, allocations: 85.25 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.004758, allocations: 31.11 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.004765, allocations: 7.938 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.004787, allocations: 37.39 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.004788, allocations: 0 / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001594/0.004947, allocations: 57.53 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.004999, allocations: 114.7 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.997e-05/0.005099, allocations: 189.9 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.005109, allocations: 29.7 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.005157, allocations: 134.9 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.006e-05/0.005167, allocations: 12.2 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.005193, allocations: 27.36 kB / 276.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.005312, allocations: 0.4884 MB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.005325, allocations: 0 / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.005341, allocations: 19.38 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/0.005371, allocations: 23.38 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.005373, allocations: 0 / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.249e-05/0.005425, allocations: 45.58 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.005437, allocations: 11.94 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005442, allocations: 4.125 kB / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.005455, allocations: 0 / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.806e-05/0.005473, allocations: 0 / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.005478, allocations: 0 / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.005503, allocations: 7.984 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.005508, allocations: 7.938 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[1],sample1.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.038e-05/0.005578, allocations: 156.6 kB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.005622, allocations: 37.66 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.00565, allocations: 19.89 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.00566, allocations: 8.031 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.005664, allocations: 0 / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005666, allocations: 0 / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.005787, allocations: 132.6 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.00579, allocations: 0 / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-06/0.005793, allocations: 4 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.005795, allocations: 4 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.005801, allocations: 0 / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.005804, allocations: 7.922 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005804, allocations: 3.938 kB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.005934, allocations: 330.8 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.005959, allocations: 19.95 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.005968, allocations: 0 / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.198e-05/0.00602, allocations: 11.92 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.006057, allocations: 0 / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.006061, allocations: 4 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.204e-05/0.006123, allocations: 142.3 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006124, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.006282, allocations: 7.938 kB / 278.2 MB, free: 11.79 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.707e-05/0.006359, allocations: 111.2 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.711e-05/0.006436, allocations: 15.69 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006437, allocations: 0 / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.006452, allocations: 15.62 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.006742, allocations: 20.58 kB / 278.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.007017, allocations: 180.7 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.238e-05/0.007059, allocations: 59.34 kB / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.043e-05/0.00708, allocations: 12.33 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.00711, allocations: 12.5 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007111, allocations: 0 / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of Templates: time 0.002337/0.009448, allocations: 0.659 MB / 279.3 MB, free: 10.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8254066300578415]