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.0009597/0.0009597, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009245/0.0009245, allocations: 170.3 kB / 24.91 MB, free: 8.723 MB / 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.8867/0.8867, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.402e-06/1.402e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.172e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002811/0.002833, allocations: 1.594 MB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003647/0.003197, allocations: 151.4 kB / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.003262, allocations: 4 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.267e-05/0.003355, allocations: 11.86 kB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.86e-05/0.003434, allocations: 3.984 kB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.003626, allocations: 55.7 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.349e-05/0.003719, allocations: 35.86 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.473e-05/0.003794, allocations: 11.98 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.00384, allocations: 15.98 kB / 275.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.267e-05/0.003882, allocations: 23.91 kB / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.003901, allocations: 0 / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.003911, allocations: 4 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.003951, allocations: 11.94 kB / 275.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.003977, allocations: 19.92 kB / 275.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.066e-05/0.004067, allocations: 39.83 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00407, allocations: 4 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.00407, allocations: 0 / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.004074, allocations: 0 / 275.4 MB, free: 15.2 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.0003205/0.004394, allocations: 280.6 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.004426, allocations: 8.031 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.004458, allocations: 12.92 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.004614, allocations: 145.5 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.004622, allocations: 384 / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.004633, allocations: 4.375 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.004817, allocations: 120.8 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.004824, allocations: 192 / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.00483, allocations: 384 / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.004857, allocations: 4.359 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.004882, allocations: 18.7 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.005135, allocations: 251 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.136e-05/0.005206, allocations: 62.52 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.005234, allocations: 22.77 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.005241, allocations: 4 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.005264, allocations: 38.5 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.005265, allocations: 0 / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001409/0.005406, allocations: 57.55 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.005459, allocations: 106.8 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/0.005551, allocations: 138.6 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.005562, allocations: 29.7 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.005597, allocations: 88.5 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/0.005605, allocations: 4 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.005658, allocations: 17.67 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.005746, allocations: 330.8 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.005754, allocations: 0 / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.73e-05/0.005772, allocations: 13.72 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.005802, allocations: 16.55 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005804, allocations: 0 / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.42e-05/0.005868, allocations: 49.72 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.00588, allocations: 8 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.005883, allocations: 0 / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.005895, allocations: 3.938 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.005948, allocations: 11.92 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.005953, allocations: 3.984 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.005976, allocations: 4 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.00598, allocations: 0 / 277.2 MB, free: 13.14 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.915e-05/0.006049, allocations: 120.6 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.006117, allocations: 41.66 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.006143, allocations: 16 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.006159, allocations: 3.938 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006163, allocations: 4 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.006167, allocations: 3.984 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.006371, allocations: 69.89 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.006376, allocations: 4 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.006404, allocations: 7.984 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.006407, allocations: 0 / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.006411, allocations: 0 / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.006413, allocations: 4 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.006415, allocations: 4 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.00653, allocations: 226.4 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.006564, allocations: 15.94 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.006576, allocations: 4 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.006664, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.006689, allocations: 7.938 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.006693, allocations: 0 / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.467e-05/0.006728, allocations: 39.56 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006728, allocations: 0 / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.006981, allocations: 4 kB / 277.8 MB, free: 12.53 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 9.257e-05/0.007073, allocations: 88.39 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.091e-05/0.007134, allocations: 16.8 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.007138, allocations: 0 / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.387e-05/0.007151, allocations: 8.859 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.007473, allocations: 23.34 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.007771, allocations: 184.5 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.043e-05/0.007851, allocations: 63.34 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.963e-05/0.007871, allocations: 4 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.007926, allocations: 59.36 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007927, allocations: 0 / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of Templates: time 0.002503/0.01043, allocations: 0.6714 MB / 278.9 MB, free: 11.37 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.5393925299867988]