Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0014/0.0014, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001959/0.001959, allocations: 165 kB / 24.56 MB, free: 8 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 0.9529/0.9529, allocations: 177.2 MB / 205 MB, free: 5.605 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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.275e-05, allocations: 2.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002143/0.002166, allocations: 1.598 MB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000331/0.002497, allocations: 151.4 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.002569, allocations: 7.938 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.895e-05/0.002668, allocations: 7.922 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.237e-05/0.002761, allocations: 7.875 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.002945, allocations: 39.83 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.586e-05/0.003041, allocations: 43.86 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.003145, allocations: 15.98 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.382e-05/0.003189, allocations: 23.91 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.003228, allocations: 11.98 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.00325, allocations: 4 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.003259, allocations: 0 / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.003303, allocations: 15.94 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.003341, allocations: 15.92 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.539e-05/0.003436, allocations: 39.83 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003438, allocations: 0 / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003439, allocations: 4 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.003443, allocations: 0 / 275 MB, free: 15.55 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.0003495/0.003793, allocations: 412.1 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.003827, allocations: 12.03 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.003864, allocations: 8.891 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.004012, allocations: 143.8 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-06/0.00402, allocations: 384 / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.004033, allocations: 12.36 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.004244, allocations: 125.3 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.00425, allocations: 192 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.004259, allocations: 384 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.004292, allocations: 4.375 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.548e-05/0.004318, allocations: 15.86 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.004605, allocations: 414.3 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.04e-05/0.004675, allocations: 89.17 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.004702, allocations: 31.12 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-06/0.004707, allocations: 4 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.004728, allocations: 41.39 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.004729, allocations: 0 / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001453/0.004874, allocations: 65.52 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.004917, allocations: 106.8 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.005008, allocations: 197.9 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.005017, allocations: 25.7 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.005062, allocations: 138.8 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.228e-06/0.005071, allocations: 8.328 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.005097, allocations: 23.38 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.005198, allocations: 0.4923 MB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.005207, allocations: 0 / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.005221, allocations: 19.38 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/0.00525, allocations: 27.31 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005251, allocations: 0 / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.448e-05/0.005296, allocations: 45.64 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.005308, allocations: 8.062 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005311, allocations: 4 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.005324, allocations: 4 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/0.005377, allocations: 4 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.005382, allocations: 7.938 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.005397, allocations: 0 / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.005402, allocations: 4 kB / 277.4 MB, free: 12.8 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[2],sample1.u[1]) * 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 6.33e-05/0.005466, allocations: 160.6 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.005509, allocations: 41.66 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.005531, allocations: 11.91 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.005541, allocations: 12.02 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.005545, allocations: 0 / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.005548, allocations: 4 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.005899, allocations: 124.6 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.005903, allocations: 4 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.005919, allocations: 7.984 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.005921, allocations: 0 / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.005927, allocations: 0 / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.00593, allocations: 11.88 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.005931, allocations: 0 / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.006046, allocations: 334.8 kB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.006069, allocations: 15.94 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.006081, allocations: 7.984 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.565e-05/0.006127, allocations: 3.938 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.006163, allocations: 7.938 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.006166, allocations: 0 / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.068e-05/0.006217, allocations: 154.2 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006217, allocations: 3.938 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.006371, allocations: 4 kB / 278.3 MB, free: 11.84 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[2],sample1.u[1],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 6.21e-05/0.006433, allocations: 103.2 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.085e-05/0.006504, allocations: 19.67 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.006506, allocations: 4 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.465e-05/0.006521, allocations: 15.62 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.006786, allocations: 20.52 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.007034, allocations: 180.6 kB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.019e-05/0.007075, allocations: 63.69 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.008e-05/0.007095, allocations: 11.98 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.007123, allocations: 8.5 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007124, allocations: 4 kB / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of Templates: time 0.00217/0.009294, allocations: 0.7085 MB / 279.4 MB, free: 10.65 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.650412229821086]