Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 79.89 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9572/0.9572, allocations: 173.3 MB / 201.1 MB, free: 8.992 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 268 MB, free: 6.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.953e-05, allocations: 10.25 kB / 268 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001964/0.001983, allocations: 1.565 MB / 269.6 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003442/0.002327, allocations: 155.4 kB / 269.7 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.002406, allocations: 4 kB / 269.7 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.002507, allocations: 7.922 kB / 269.7 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.773e-05/0.002605, allocations: 3.938 kB / 269.7 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.002835, allocations: 47.75 kB / 269.8 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.002941, allocations: 43.84 kB / 269.8 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.003059, allocations: 19.92 kB / 269.8 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.003108, allocations: 23.98 kB / 269.9 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.00315, allocations: 11.92 kB / 269.9 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.003178, allocations: 4 kB / 269.9 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-06/0.003187, allocations: 0 / 269.9 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.003244, allocations: 19.92 kB / 269.9 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.003275, allocations: 15.92 kB / 269.9 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.003388, allocations: 39.83 kB / 269.9 MB, free: 4.344 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.00339, allocations: 0 / 269.9 MB, free: 4.344 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003391, allocations: 0 / 269.9 MB, free: 4.344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.003395, allocations: 0 / 269.9 MB, free: 4.344 MB / 250.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.0004123/0.003807, allocations: 404.3 kB / 270.3 MB, free: 3.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.003842, allocations: 12.92 kB / 270.4 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.003879, allocations: 16.84 kB / 270.4 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.004042, allocations: 140.4 kB / 270.5 MB, free: 3.719 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.004054, allocations: 8.359 kB / 270.5 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.004066, allocations: 4.375 kB / 270.5 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.004297, allocations: 125.3 kB / 270.6 MB, free: 3.555 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.004308, allocations: 4.188 kB / 270.6 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.004318, allocations: 384 / 270.6 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.00435, allocations: 4.375 kB / 270.7 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.004377, allocations: 15.86 kB / 270.7 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.004705, allocations: 410.4 kB / 271.1 MB, free: 3.086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.396e-05/0.004779, allocations: 85.17 kB / 271.1 MB, free: 2.965 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.004812, allocations: 31.19 kB / 271.2 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.004819, allocations: 0 / 271.2 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.004844, allocations: 41.33 kB / 271.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.004845, allocations: 4 kB / 271.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001655/0.00501, allocations: 65.52 kB / 271.3 MB, free: 2.797 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.005061, allocations: 102.8 kB / 271.4 MB, free: 2.672 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.005169, allocations: 201.8 kB / 271.6 MB, free: 2.457 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.00518, allocations: 25.7 kB / 271.6 MB, free: 2.426 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.005235, allocations: 138.9 kB / 271.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/0.005243, allocations: 0 / 271.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.005274, allocations: 27.33 kB / 271.8 MB, free: 2.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.005413, allocations: 0.4888 MB / 272.3 MB, free: 1.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.005424, allocations: 4 kB / 272.3 MB, free: 1.746 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.005444, allocations: 23.31 kB / 272.3 MB, free: 1.715 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.005473, allocations: 23.38 kB / 272.3 MB, free: 1.684 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.005476, allocations: 0 / 272.3 MB, free: 1.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.944e-05/0.005525, allocations: 45.62 kB / 272.4 MB, free: 1.633 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.005539, allocations: 7.938 kB / 272.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.005544, allocations: 0 / 272.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.005568, allocations: 128 / 272.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.005635, allocations: 15.94 kB / 272.4 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.005641, allocations: 4 kB / 272.4 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.005659, allocations: 3.953 kB / 272.4 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.005665, allocations: 3.984 kB / 272.4 MB, free: 1.598 MB / 250.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 7.151e-05/0.005737, allocations: 160.6 kB / 272.5 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.005788, allocations: 49.58 kB / 272.6 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.005852, allocations: 15.91 kB / 272.6 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.005864, allocations: 7.984 kB / 272.6 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.005867, allocations: 0 / 272.6 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.00587, allocations: 4.031 kB / 272.6 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.006, allocations: 128.6 kB / 272.7 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.006003, allocations: 4 kB / 272.8 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.006022, allocations: 7.984 kB / 272.8 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006023, allocations: 0 / 272.8 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.00603, allocations: 0 / 272.8 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.006034, allocations: 7.938 kB / 272.8 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006035, allocations: 0 / 272.8 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.006184, allocations: 334.7 kB / 273.1 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.006209, allocations: 11.95 kB / 273.1 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.006225, allocations: 11.98 kB / 273.1 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.904e-05/0.006274, allocations: 3.938 kB / 273.1 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.006312, allocations: 4 kB / 273.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.006315, allocations: 0 / 273.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.648e-05/0.006372, allocations: 154.2 kB / 273.3 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006372, allocations: 0 / 273.3 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.006559, allocations: 4 kB / 273.3 MB, free: 0.6289 MB / 250.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.756e-05/0.006626, allocations: 95.25 kB / 273.4 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.042e-05/0.006707, allocations: 31.61 kB / 273.4 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006708, allocations: 0 / 273.4 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.416e-05/0.006722, allocations: 11.69 kB / 273.4 MB, free: 488 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.007008, allocations: 23.53 kB / 273.4 MB, free: 464 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.007307, allocations: 180.6 kB / 273.6 MB, free: 248 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.323e-05/0.00737, allocations: 63.34 kB / 273.7 MB, free: 164 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.469e-05/0.007395, allocations: 11.89 kB / 273.7 MB, free: 152 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.007421, allocations: 8.844 kB / 273.7 MB, free: 144 kB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007421, allocations: 8 kB / 273.7 MB, free: 136 kB / 250.7 MB Notification: Performance of Templates: time 0.002285/0.009707, allocations: 0.6607 MB / 274.4 MB, free: 15.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.757455190178007]