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.0016/0.0016, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.002002/0.002002, allocations: 165 kB / 24.55 MB, free: 16 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.047/1.047, allocations: 177.1 MB / 205 MB, free: 5.641 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.903e-06/1.903e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.882e-05, allocations: 2.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002765/0.002793, allocations: 1.58 MB / 274.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003995/0.003193, allocations: 151.4 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.003264, allocations: 4 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.003369, allocations: 3.938 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.003469, allocations: 15.92 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.00368, allocations: 35.78 kB / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.003784, allocations: 39.84 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.003881, allocations: 8 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.385e-05/0.003935, allocations: 27.95 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.231e-05/0.003968, allocations: 11.92 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.00399, allocations: 4 kB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.004001, allocations: 11.94 kB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.004052, allocations: 11.94 kB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.004082, allocations: 12 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.004193, allocations: 43.77 kB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.004196, allocations: 0 / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004196, allocations: 0 / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004201, allocations: 0 / 274.9 MB, free: 15.6 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.0003986/0.004599, allocations: 396.4 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.004637, allocations: 12.03 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.004682, allocations: 16.83 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.004854, allocations: 140.5 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.004876, allocations: 8.312 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.004886, allocations: 4.375 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.005111, allocations: 125.3 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.005119, allocations: 192 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.005127, allocations: 384 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.005154, allocations: 4.375 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.005181, allocations: 11.94 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.00549, allocations: 414.3 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.455e-05/0.005565, allocations: 81.31 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.005593, allocations: 31.06 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.0056, allocations: 4 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.005621, allocations: 33.39 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.005623, allocations: 3.938 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000179/0.005802, allocations: 77.73 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.005852, allocations: 106.9 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.005966, allocations: 199.8 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.005976, allocations: 25.7 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.006026, allocations: 130.9 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.006037, allocations: 11.89 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.006071, allocations: 23.38 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.006182, allocations: 0.4884 MB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.006195, allocations: 4 kB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.006212, allocations: 15.38 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.006241, allocations: 27.38 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006243, allocations: 4 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.254e-05/0.006305, allocations: 49.58 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.006318, allocations: 7.938 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.006322, allocations: 0 / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.006335, allocations: 8 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.816e-05/0.006353, allocations: 0 / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.006357, allocations: 0 / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.006385, allocations: 4 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.006389, allocations: 4.062 kB / 277.4 MB, free: 12.87 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 7.214e-05/0.006462, allocations: 160.6 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.006524, allocations: 45.58 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.006546, allocations: 11.91 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.006559, allocations: 4 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.006564, allocations: 4 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.006568, allocations: 3.984 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.006731, allocations: 124.6 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.006734, allocations: 0 / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-06/0.006738, allocations: 4.031 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.00674, allocations: 0 / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.006746, allocations: 4 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.006749, allocations: 3.938 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00675, allocations: 0 / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.006889, allocations: 334.7 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.006917, allocations: 11.94 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.00693, allocations: 7.938 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.007012, allocations: 7.922 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.007046, allocations: 11.98 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.00705, allocations: 0 / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.424e-05/0.007104, allocations: 146 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007104, allocations: 4 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.007352, allocations: 4 kB / 278.2 MB, free: 11.92 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 8.5e-05/0.007437, allocations: 99.23 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.575e-05/0.007522, allocations: 27.61 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007524, allocations: 0 / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.007541, allocations: 11.88 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.007942, allocations: 24.64 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.008242, allocations: 180.6 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.864e-05/0.008291, allocations: 59.34 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.664e-05/0.008317, allocations: 4 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.008345, allocations: 16.5 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008346, allocations: 0 / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of Templates: time 0.002656/0.011, allocations: 0.7072 MB / 279.4 MB, free: 10.74 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.6993800248019397]