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.001906/0.001906, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.002394/0.002394, allocations: 157.7 kB / 24.27 MB, free: 168 kB / 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 1.514/1.514, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 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 1.753e-06/1.753e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.439e-05/3.615e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003467/0.003504, allocations: 1.538 MB / 273.9 MB, free: 284 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00048/0.003984, allocations: 155.4 kB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.398e-05/0.004068, allocations: 0 / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.004191, allocations: 3.938 kB / 274 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.004293, allocations: 19.84 kB / 274 MB, free: 104 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.004528, allocations: 31.84 kB / 274.1 MB, free: 72 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.004656, allocations: 43.84 kB / 274.1 MB, free: 28 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.004783, allocations: 8 kB / 274.1 MB, free: 20 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.004837, allocations: 19.92 kB / 274.1 MB, free: 0 / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.004902, allocations: 19.97 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.004923, allocations: 0 / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.004937, allocations: 4 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.005, allocations: 19.92 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.005046, allocations: 15.94 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.005177, allocations: 51.73 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00518, allocations: 0 / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005181, allocations: 0 / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.005185, allocations: 4 kB / 274.2 MB, free: 15.89 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.000762/0.005947, allocations: 290.1 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.005989, allocations: 8.031 kB / 274.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.006044, allocations: 12.89 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.006311, allocations: 145.6 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.006338, allocations: 8.312 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.006351, allocations: 4.375 kB / 274.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.006672, allocations: 114.5 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.006681, allocations: 4.125 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.006694, allocations: 4.375 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.006717, allocations: 4.375 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.765e-05/0.006815, allocations: 27.92 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.00726, allocations: 313.5 kB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.007408, allocations: 71.78 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.007482, allocations: 34.62 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.007494, allocations: 0 / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.007545, allocations: 34.56 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.007546, allocations: 0 / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003456/0.007892, allocations: 109.7 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.389e-05/0.007986, allocations: 102.8 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.00814, allocations: 135.1 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.008164, allocations: 29.69 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.008234, allocations: 92.12 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.008246, allocations: 3.953 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.008287, allocations: 17.72 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.008468, allocations: 314.8 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.861e-05/0.008517, allocations: 11.98 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.141e-05/0.008568, allocations: 21.78 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.008659, allocations: 37.62 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008661, allocations: 0 / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000132/0.008793, allocations: 57.62 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.00881, allocations: 7.938 kB / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008815, allocations: 0 / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.008831, allocations: 4 kB / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.695e-05/0.008848, allocations: 4.125 kB / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.008855, allocations: 3.984 kB / 276.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/0.008895, allocations: 15.94 kB / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.008903, allocations: 4 kB / 276.2 MB, free: 13.64 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 0.0001235/0.009027, allocations: 121.8 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.935e-05/0.009126, allocations: 49.58 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.009154, allocations: 11.97 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.00917, allocations: 11.92 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.009175, allocations: 3.938 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009178, allocations: 4.031 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.009397, allocations: 117.3 kB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.009399, allocations: 0 / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.385e-06/0.009408, allocations: 4 kB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.00941, allocations: 0 / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.00942, allocations: 3.938 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.009423, allocations: 4 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.009424, allocations: 0 / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.009715, allocations: 259.5 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.009753, allocations: 15.95 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.009771, allocations: 11.92 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.009867, allocations: 4 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.009908, allocations: 0 / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.009916, allocations: 4 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.554e-05/0.01001, allocations: 110.1 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01001, allocations: 0 / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.01027, allocations: 4 kB / 277 MB, free: 12.85 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 0.0001515/0.01042, allocations: 99.25 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.01058, allocations: 47.91 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01059, allocations: 0 / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.01063, allocations: 8 kB / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.01107, allocations: 24.56 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.01149, allocations: 192.7 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.0116, allocations: 75.33 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.748e-05/0.01163, allocations: 4.344 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.01167, allocations: 16.5 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01167, allocations: 0 / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Templates: time 0.003327/0.015, allocations: 0.6506 MB / 278.1 MB, free: 11.7 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/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: 4.256846397998743]