Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9991/0.9991, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.371e-05, allocations: 6.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001878/0.001892, allocations: 1.566 MB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002998/0.002191, allocations: 147.4 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.00226, allocations: 3.938 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.132e-05/0.002351, allocations: 11.92 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.002433, allocations: 15.88 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.002591, allocations: 35.83 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.002671, allocations: 39.86 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.165e-05/0.002753, allocations: 11.98 kB / 275.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.002794, allocations: 23.97 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.524e-05/0.002819, allocations: 11.92 kB / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.002834, allocations: 0 / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.002844, allocations: 4 kB / 275.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.002885, allocations: 11.94 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.002908, allocations: 19.92 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.029e-05/0.002988, allocations: 43.83 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.002989, allocations: 0 / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00299, allocations: 0 / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.565e-06/0.002993, allocations: 0 / 275.3 MB, free: 15.36 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.000306/0.003299, allocations: 404.3 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.003329, allocations: 12.03 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.00336, allocations: 12.84 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.003487, allocations: 138.7 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.0035, allocations: 384 / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.003508, allocations: 8.375 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.003667, allocations: 125.3 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.003673, allocations: 192 / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.003679, allocations: 4.312 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.0037, allocations: 4.375 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.003718, allocations: 15.86 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.003947, allocations: 391 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.828e-05/0.004005, allocations: 85.19 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.004027, allocations: 35.12 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-06/0.004033, allocations: 0 / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.004052, allocations: 37.39 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.004053, allocations: 0 / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001152/0.004168, allocations: 61.52 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.004213, allocations: 110.8 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.004302, allocations: 194.2 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.004312, allocations: 33.69 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.004353, allocations: 126.9 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.004364, allocations: 11.89 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.004391, allocations: 27.36 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.004501, allocations: 496.1 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-06/0.004508, allocations: 0 / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.004522, allocations: 19.38 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.666e-05/0.004549, allocations: 35.3 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00455, allocations: 0 / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.108e-05/0.004591, allocations: 45.72 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.004602, allocations: 6.656 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.004607, allocations: 3.984 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.004616, allocations: 3.938 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.309e-05/0.004629, allocations: 4 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.004632, allocations: 3.938 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.00465, allocations: 0 / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.004653, allocations: 4 kB / 277.7 MB, free: 12.66 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 6.321e-05/0.004717, allocations: 152.6 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.004758, allocations: 49.7 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.004776, allocations: 7.969 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.004786, allocations: 7.938 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.004787, allocations: 0 / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.004792, allocations: 4 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.004906, allocations: 109.2 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.004909, allocations: 3.938 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-06/0.004911, allocations: 0 / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.004913, allocations: 0 / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.004918, allocations: 4 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.004919, allocations: 7.969 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.00492, allocations: 0 / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.005042, allocations: 318.7 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.005067, allocations: 19.94 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.005075, allocations: 0 / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.005123, allocations: 4 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.005157, allocations: 3.938 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.005162, allocations: 7.984 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.036e-05/0.005223, allocations: 143.2 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005223, allocations: 0 / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.005466, allocations: 8.031 kB / 278.6 MB, free: 11.77 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.772e-05/0.005544, allocations: 107.2 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.969e-05/0.005603, allocations: 15.67 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005604, allocations: 0 / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/0.005621, allocations: 15.62 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.005962, allocations: 23.84 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.006195, allocations: 185 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.648e-05/0.006231, allocations: 59.34 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.837e-05/0.00625, allocations: 11.98 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.006295, allocations: 74.2 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006295, allocations: 0 / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Templates: time 0.001907/0.008203, allocations: 0.7228 MB / 279.8 MB, free: 10.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6721209357492626]