Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00193/0.00193, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001958/0.001958, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.793e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003145/0.003173, allocations: 1.553 MB / 273.7 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000479/0.003652, allocations: 147.5 kB / 273.9 MB, free: 88 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.003733, allocations: 7.938 kB / 273.9 MB, free: 80 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.003849, allocations: 3.938 kB / 273.9 MB, free: 76 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.979e-05/0.003949, allocations: 7.875 kB / 273.9 MB, free: 68 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.004197, allocations: 39.83 kB / 274 MB, free: 28 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.004341, allocations: 43.94 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.004448, allocations: 15.89 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.004515, allocations: 19.92 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.004564, allocations: 15.98 kB / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.004586, allocations: 3.938 kB / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.0046, allocations: 4 kB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.004655, allocations: 11.98 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.004695, allocations: 15.94 kB / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.004834, allocations: 55.73 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.004837, allocations: 0 / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004838, allocations: 3.938 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.004843, allocations: 4 kB / 274.1 MB, free: 15.84 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.0006145/0.005458, allocations: 408 kB / 274.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.005504, allocations: 15.98 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.00556, allocations: 12.89 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.005807, allocations: 140.4 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.005823, allocations: 4.375 kB / 274.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.005835, allocations: 4.375 kB / 274.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.00616, allocations: 128.6 kB / 274.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.006171, allocations: 192 / 274.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.006184, allocations: 4.359 kB / 274.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.006216, allocations: 8.359 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.006316, allocations: 27.86 kB / 274.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.006868, allocations: 418.3 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.007048, allocations: 93.23 kB / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/0.007131, allocations: 35.11 kB / 275.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.007149, allocations: 4 kB / 275.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.007188, allocations: 37.39 kB / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.007189, allocations: 0 / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003433/0.007532, allocations: 85.44 kB / 275.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.007618, allocations: 102.8 kB / 275.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.007817, allocations: 216.4 kB / 275.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.00784, allocations: 30.02 kB / 275.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.007942, allocations: 150.8 kB / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.007954, allocations: 3.953 kB / 276 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.008005, allocations: 23.38 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.008267, allocations: 0.4923 MB / 276.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.249e-05/0.00832, allocations: 4 kB / 276.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.008375, allocations: 27.36 kB / 276.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.4e-05/0.008469, allocations: 35.31 kB / 276.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.008471, allocations: 4.062 kB / 276.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001386/0.00861, allocations: 61.62 kB / 276.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.008628, allocations: 7.938 kB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.008633, allocations: 0 / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.008647, allocations: 0 / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.008713, allocations: 7.938 kB / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.008722, allocations: 4 kB / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.008754, allocations: 3.984 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.008764, allocations: 4 kB / 276.7 MB, free: 12.98 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 0.0001226/0.008886, allocations: 160.6 kB / 276.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.098e-05/0.008977, allocations: 41.66 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.009018, allocations: 15.89 kB / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.009032, allocations: 4 kB / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.009036, allocations: 0 / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.009042, allocations: 4 kB / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.009277, allocations: 128.6 kB / 277 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.00928, allocations: 0 / 277 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.009328, allocations: 19.92 kB / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.00933, allocations: 4.031 kB / 277.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.00934, allocations: 3.984 kB / 277.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.009346, allocations: 7.938 kB / 277.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009347, allocations: 0 / 277.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.009668, allocations: 334.8 kB / 277.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.009712, allocations: 15.95 kB / 277.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.009726, allocations: 3.938 kB / 277.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.009827, allocations: 15.92 kB / 277.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.009867, allocations: 3.938 kB / 277.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.009874, allocations: 4 kB / 277.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.009989, allocations: 155.2 kB / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009989, allocations: 0 / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.01025, allocations: 4 kB / 277.6 MB, free: 12 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 0.0001317/0.01038, allocations: 103.2 kB / 277.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.01054, allocations: 27.67 kB / 277.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01054, allocations: 0 / 277.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.717e-05/0.01061, allocations: 31.73 kB / 277.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.01103, allocations: 19.8 kB / 277.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.01143, allocations: 192.6 kB / 278 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.01154, allocations: 79.36 kB / 278.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.247e-05/0.01157, allocations: 7.922 kB / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.0116, allocations: 12.5 kB / 278.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of SimCode: time 4.8e-07/0.0116, allocations: 0 / 278.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of Templates: time 0.003855/0.01546, allocations: 0.667 MB / 278.7 MB, free: 10.81 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.334896103944629]