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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 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.001627/0.001627, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.502/1.502, allocations: 230.4 MB / 255.4 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "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.001899/0.001899, allocations: 67.83 kB / 374.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1169, allocations: 53.32 MB / 428.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003058/0.12, allocations: 1.529 MB / 429.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004449/0.1204, allocations: 155.4 kB / 429.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.1205, allocations: 4 kB / 429.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.1206, allocations: 3.938 kB / 429.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.77e-05/0.1207, allocations: 3.938 kB / 429.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1209, allocations: 47.89 kB / 429.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.121, allocations: 35.86 kB / 429.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1211, allocations: 15.97 kB / 429.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.1212, allocations: 19.92 kB / 429.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.1212, allocations: 15.88 kB / 429.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.1212, allocations: 0 / 429.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.1213, allocations: 4 kB / 429.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.1213, allocations: 19.92 kB / 429.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.1214, allocations: 27.8 kB / 429.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1215, allocations: 51.69 kB / 430 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1215, allocations: 4 kB / 430 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1215, allocations: 0 / 430 MB, free: 2.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1215, allocations: 4 kB / 430 MB, free: 2.395 MB / 350.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.0005373/0.122, allocations: 371.1 kB / 430.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1221, allocations: 8.031 kB / 430.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.1221, allocations: 8.891 kB / 430.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1224, allocations: 204.1 kB / 430.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1224, allocations: 384 / 430.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1224, allocations: 12.38 kB / 430.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.1227, allocations: 114.5 kB / 430.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1227, allocations: 192 / 430.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1227, allocations: 3.938 kB / 430.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.1227, allocations: 7.984 kB / 430.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.399e-05/0.1228, allocations: 31.92 kB / 430.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1233, allocations: 357.9 kB / 431.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1234, allocations: 83.72 kB / 431.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.407e-05/0.1235, allocations: 30.62 kB / 431.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.1235, allocations: 0 / 431.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1235, allocations: 46.5 kB / 431.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1235, allocations: 0 / 431.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003082/0.1238, allocations: 89.56 kB / 431.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.1239, allocations: 110.8 kB / 431.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.1241, allocations: 136.5 kB / 431.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1241, allocations: 25.7 kB / 431.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.1241, allocations: 92.12 kB / 431.7 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1242, allocations: 16.2 kB / 431.7 MB, free: 432 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.1242, allocations: 29.64 kB / 431.7 MB, free: 396 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1243, allocations: 314.8 kB / 432 MB, free: 72 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1244, allocations: 11.98 kB / 432 MB, free: 60 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.848e-05/0.1244, allocations: 39.42 kB / 432.1 MB, free: 8 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2437/0.3681, allocations: 47.09 kB / 432.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3681, allocations: 1.25 kB / 432.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000199/0.3683, allocations: 74.33 kB / 432.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.3683, allocations: 5.625 kB / 432.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3683, allocations: 0.5938 kB / 432.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.3684, allocations: 5.422 kB / 432.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.89e-05/0.3684, allocations: 5.094 kB / 432.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3684, allocations: 1.719 kB / 432.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.3685, allocations: 3.922 kB / 432.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3685, allocations: 4.812 kB / 432.2 MB, free: 9.445 MB / 350.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.0001132/0.3686, allocations: 126.9 kB / 432.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.3687, allocations: 55.03 kB / 432.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.3687, allocations: 11.05 kB / 432.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.3687, allocations: 3.969 kB / 432.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3688, allocations: 2.844 kB / 432.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3688, allocations: 0.9375 kB / 432.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.369, allocations: 176.1 kB / 432.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.369, allocations: 1.469 kB / 432.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-06/0.369, allocations: 1.828 kB / 432.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.369, allocations: 1.219 kB / 432.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/0.369, allocations: 3.922 kB / 432.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.369, allocations: 1 kB / 432.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.369, allocations: 2 kB / 432.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.3692, allocations: 261.6 kB / 432.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.3693, allocations: 90.72 kB / 433 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3693, allocations: 2.406 kB / 433 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.3694, allocations: 6.984 kB / 433 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.3694, allocations: 7.828 kB / 433 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.3695, allocations: 5 kB / 433 MB, free: 8.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.026e-05/0.3695, allocations: 105.6 kB / 433.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3695, allocations: 0.7188 kB / 433.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3698, allocations: 5.312 kB / 433.1 MB, free: 8.711 MB / 350.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.0001146/0.3699, allocations: 106.8 kB / 433.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.3701, allocations: 43.33 kB / 433.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3701, allocations: 0 / 433.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.717e-05/0.3702, allocations: 13.22 kB / 433.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3706, allocations: 25.08 kB / 433.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.371, allocations: 206.3 kB / 433.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.3711, allocations: 0.6982 MB / 434.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.3712, allocations: 10.66 kB / 434.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3712, allocations: 0 / 434.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of Templates: time 0.002702/0.3739, allocations: 0.8067 MB / 435 MB, free: 7.738 MB / 350.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.086916259955615]