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.001627/0.001627, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001848/0.001848, allocations: 163.8 kB / 23.95 MB, free: 4.156 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.485/1.485, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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 1.543e-06/1.543e-06, allocations: 0 / 325.1 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.466e-05, allocations: 2.281 kB / 325.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002587/0.002612, allocations: 1.54 MB / 326.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004329/0.003045, allocations: 149.9 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.003122, allocations: 1.219 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.003231, allocations: 9.844 kB / 326.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.233e-05/0.003323, allocations: 7.625 kB / 326.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.003567, allocations: 40.67 kB / 326.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.003679, allocations: 46.09 kB / 326.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.003784, allocations: 10.45 kB / 326.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.849e-05/0.003843, allocations: 24.53 kB / 326.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.003881, allocations: 8.094 kB / 326.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.003905, allocations: 7.266 kB / 326.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.003918, allocations: 3.5 kB / 326.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.003978, allocations: 18.86 kB / 326.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.004019, allocations: 14.06 kB / 326.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.004166, allocations: 54.31 kB / 327 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004168, allocations: 0 / 327 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.00417, allocations: 1.156 kB / 327 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.81e-06/0.004174, allocations: 0 / 327 MB, free: 15.32 MB / 302.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.0004953/0.00467, allocations: 291.3 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.004706, allocations: 10.06 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.004756, allocations: 8.359 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.004991, allocations: 152 kB / 327.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.005013, allocations: 2.562 kB / 327.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.005023, allocations: 2.594 kB / 327.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.005311, allocations: 124.5 kB / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.005321, allocations: 192 / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.00533, allocations: 1.078 kB / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.005352, allocations: 8.594 kB / 327.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.145e-05/0.005444, allocations: 31.22 kB / 327.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.005849, allocations: 304.1 kB / 327.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.005988, allocations: 75.23 kB / 328 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.006059, allocations: 31.53 kB / 328 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.006072, allocations: 1.797 kB / 328 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.006105, allocations: 38.47 kB / 328 MB, free: 14.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.006107, allocations: 0 / 328 MB, free: 14.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003188/0.006426, allocations: 102.6 kB / 328.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.006513, allocations: 106.1 kB / 328.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.006645, allocations: 135.9 kB / 328.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.00667, allocations: 25.7 kB / 328.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.00673, allocations: 88.36 kB / 328.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.006748, allocations: 17.8 kB / 328.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.006783, allocations: 14.42 kB / 328.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.006938, allocations: 319.3 kB / 328.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.006982, allocations: 6.828 kB / 328.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.782e-05/0.00703, allocations: 27.22 kB / 328.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.86e-05/0.007128, allocations: 35.78 kB / 328.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.00713, allocations: 0 / 328.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001236/0.007253, allocations: 55.88 kB / 329 MB, free: 13.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.007269, allocations: 13.05 kB / 329 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.007276, allocations: 5.344 kB / 329 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.00729, allocations: 4.125 kB / 329 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-05/0.007308, allocations: 1.969 kB / 329 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.007312, allocations: 0 / 329 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.007348, allocations: 7.719 kB / 329 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.007358, allocations: 5.234 kB / 329 MB, free: 13.45 MB / 302.1 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.0001014/0.00746, allocations: 123.2 kB / 329.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.007555, allocations: 51.61 kB / 329.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.007595, allocations: 16.66 kB / 329.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.007609, allocations: 4.219 kB / 329.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.007614, allocations: 1.375 kB / 329.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.007617, allocations: 9.312 kB / 329.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.007822, allocations: 117.2 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.007825, allocations: 0.7969 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-06/0.007831, allocations: 1.25 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007833, allocations: 1.188 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.007842, allocations: 5.891 kB / 329.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007844, allocations: 1.125 kB / 329.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.007846, allocations: 1.703 kB / 329.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.008093, allocations: 250.3 kB / 329.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.008131, allocations: 23.56 kB / 329.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.008148, allocations: 10.03 kB / 329.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.008243, allocations: 3.359 kB / 329.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.008277, allocations: 4.219 kB / 329.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.008281, allocations: 1.406 kB / 329.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.068e-05/0.008361, allocations: 107.4 kB / 329.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008362, allocations: 0 / 329.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.008625, allocations: 5.25 kB / 329.7 MB, free: 12.8 MB / 302.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.0001106/0.008736, allocations: 102.2 kB / 329.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.008889, allocations: 37.36 kB / 329.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008891, allocations: 0 / 329.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.008933, allocations: 9.797 kB / 329.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.009341, allocations: 24.97 kB / 329.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.009709, allocations: 180.4 kB / 330.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.133e-05/0.0098, allocations: 79.11 kB / 330.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.606e-05/0.009836, allocations: 19.16 kB / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.009865, allocations: 10.72 kB / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.009865, allocations: 0 / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Templates: time 0.003383/0.01325, allocations: 0.6596 MB / 330.8 MB, free: 12.35 MB / 302.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/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.289672203361988]