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.001566/0.001566, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 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.001715/0.001715, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 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 1.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 7.988 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+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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 47.92 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2289, allocations: 53.35 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003109/0.232, allocations: 1.558 MB / 433.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004305/0.2324, allocations: 147.4 kB / 434.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.303e-05/0.2325, allocations: 4 kB / 434.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.2326, allocations: 3.938 kB / 434.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.83e-05/0.2327, allocations: 11.91 kB / 434.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.233, allocations: 43.84 kB / 434.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2331, allocations: 43.84 kB / 434.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.2332, allocations: 8 kB / 434.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.2332, allocations: 19.92 kB / 434.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.2333, allocations: 15.92 kB / 434.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2333, allocations: 0 / 434.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.2333, allocations: 4 kB / 434.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.2334, allocations: 15.94 kB / 434.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.2334, allocations: 31.78 kB / 434.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.2335, allocations: 47.56 kB / 434.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2336, allocations: 0 / 434.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2336, allocations: 7.938 kB / 434.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2336, allocations: 0 / 434.3 MB, free: 4.953 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.0004579/0.234, allocations: 299.5 kB / 434.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2341, allocations: 8.031 kB / 434.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.2341, allocations: 16.83 kB / 434.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.2344, allocations: 134.4 kB / 434.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.2344, allocations: 384 / 434.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.2344, allocations: 8.375 kB / 434.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.2347, allocations: 118.5 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2347, allocations: 192 / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2347, allocations: 3.938 kB / 434.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.2347, allocations: 4 kB / 434.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.2348, allocations: 31.92 kB / 434.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.2353, allocations: 336.9 kB / 435.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.2354, allocations: 87.72 kB / 435.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.184e-05/0.2355, allocations: 30.56 kB / 435.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.2355, allocations: 4 kB / 435.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2355, allocations: 34.56 kB / 435.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2355, allocations: 0 / 435.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002964/0.2358, allocations: 97.64 kB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.2359, allocations: 106.8 kB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.236, allocations: 144.7 kB / 435.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.236, allocations: 29.69 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.2361, allocations: 88.14 kB / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.2361, allocations: 3.953 kB / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.2362, allocations: 22 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2363, allocations: 318.8 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.2363, allocations: 12 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.2364, allocations: 35.42 kB / 436.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.2365, allocations: 59.28 kB / 436.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2365, allocations: 0 / 436.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001453/0.2366, allocations: 69.58 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2367, allocations: 11.98 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2367, allocations: 4.094 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2367, allocations: 4.109 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.127e-05/0.2367, allocations: 11.94 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2367, allocations: 0 / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.2367, allocations: 4 kB / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.2368, allocations: 0 / 436.4 MB, free: 2.598 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.000104/0.2369, allocations: 129.7 kB / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/0.237, allocations: 53.64 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.237, allocations: 15.92 kB / 436.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.237, allocations: 8.031 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.237, allocations: 0 / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.237, allocations: 0 / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.2372, allocations: 144.7 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2372, allocations: 0 / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.2372, allocations: 11.92 kB / 436.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2373, allocations: 0 / 436.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.2373, allocations: 3.938 kB / 436.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2373, allocations: 0 / 436.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.2373, allocations: 7.984 kB / 436.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.2375, allocations: 255.6 kB / 437 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.2375, allocations: 19.92 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.2375, allocations: 0 / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.2376, allocations: 4 kB / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.2377, allocations: 11.92 kB / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2377, allocations: 4 kB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.382e-05/0.2378, allocations: 107.3 kB / 437.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2378, allocations: 0 / 437.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.238, allocations: 4 kB / 437.2 MB, free: 1.75 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.0001144/0.2381, allocations: 103.2 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.2383, allocations: 39.92 kB / 437.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2383, allocations: 4.188 kB / 437.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.2383, allocations: 15.98 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.2387, allocations: 26.91 kB / 437.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.2391, allocations: 204.9 kB / 437.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.2394, allocations: 0.6924 MB / 438.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.2394, allocations: 11.66 kB / 438.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2394, allocations: 4 kB / 438.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of Templates: time 0.002333/0.2418, allocations: 0.8058 MB / 439.1 MB, free: 15.79 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.635706903878599]