Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001352/0.001352, allocations: 115.5 kB / 21.18 MB, free: 0.5898 MB / 14.72 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.001459/0.001459, allocations: 210.9 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3182, allocations: 53.31 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003207/0.3214, allocations: 1.568 MB / 433.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004455/0.3219, allocations: 143.5 kB / 433.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.322, allocations: 4 kB / 433.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.3221, allocations: 7.922 kB / 433.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.3222, allocations: 7.938 kB / 433.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.3224, allocations: 39.83 kB / 433.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.3226, allocations: 39.86 kB / 433.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3227, allocations: 15.98 kB / 433.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.3227, allocations: 15.94 kB / 433.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.3228, allocations: 23.84 kB / 433.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.3228, allocations: 4 kB / 433.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.3228, allocations: 4 kB / 433.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.3229, allocations: 19.92 kB / 433.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.3229, allocations: 23.81 kB / 433.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.3231, allocations: 65.58 kB / 434 MB, free: 5.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3231, allocations: 0 / 434 MB, free: 5.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3231, allocations: 0 / 434 MB, free: 5.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3231, allocations: 0 / 434 MB, free: 5.398 MB / 334.1 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.000622/0.3237, allocations: 387.1 kB / 434.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3237, allocations: 12.03 kB / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.3238, allocations: 8.891 kB / 434.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.3241, allocations: 195.3 kB / 434.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3241, allocations: 8.312 kB / 434.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.3241, allocations: 4.375 kB / 434.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.3244, allocations: 122.4 kB / 434.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3244, allocations: 192 / 434.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3244, allocations: 7.938 kB / 434.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.3245, allocations: 0 / 434.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.3246, allocations: 39.91 kB / 434.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.3251, allocations: 369.9 kB / 435.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.3253, allocations: 87.72 kB / 435.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/0.3254, allocations: 38.56 kB / 435.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.3254, allocations: 0 / 435.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.3254, allocations: 38.55 kB / 435.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3254, allocations: 0 / 435.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000364/0.3258, allocations: 101.5 kB / 435.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.3259, allocations: 110.8 kB / 435.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.326, allocations: 149.8 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.326, allocations: 25.7 kB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.3261, allocations: 88.5 kB / 435.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.3261, allocations: 19.89 kB / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3262, allocations: 13.72 kB / 435.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3263, allocations: 318.8 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.3264, allocations: 19.98 kB / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.3265, allocations: 35.42 kB / 436.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3266, allocations: 63.34 kB / 436.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.3266, allocations: 3.938 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001909/0.3268, allocations: 89.61 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3268, allocations: 4 kB / 436.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3268, allocations: 0 / 436.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3268, allocations: 7.938 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.374e-05/0.3269, allocations: 12 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3269, allocations: 0 / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.327, allocations: 7.984 kB / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.327, allocations: 4 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001621/0.3272, allocations: 129.8 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3273, allocations: 49.66 kB / 436.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.3273, allocations: 11.81 kB / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.3273, allocations: 11.94 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3273, allocations: 0 / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/0.3273, allocations: 8.031 kB / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.3276, allocations: 177.6 kB / 436.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.3276, allocations: 3.984 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.3277, allocations: 11.92 kB / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3277, allocations: 4 kB / 436.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3277, allocations: 4.031 kB / 436.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3277, allocations: 0 / 436.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3277, allocations: 4 kB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.328, allocations: 267.5 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/0.3281, allocations: 93.05 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3281, allocations: 0 / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3283, allocations: 7.984 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.3283, allocations: 8 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3283, allocations: 0 / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.675e-05/0.3284, allocations: 109.1 kB / 437.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3284, allocations: 4 kB / 437.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.3287, allocations: 4 kB / 437.2 MB, free: 1.758 MB / 334.1 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.0001855/0.3288, allocations: 103.2 kB / 437.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3291, allocations: 51.89 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3291, allocations: 0 / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.3291, allocations: 8 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.3296, allocations: 31.23 kB / 437.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.33, allocations: 223.4 kB / 437.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3304, allocations: 0.6924 MB / 438.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.3304, allocations: 15.44 kB / 438.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3304, allocations: 0 / 438.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of Templates: time 0.00255/0.333, allocations: 0.8455 MB / 439.2 MB, free: 15.73 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.938846542965621]