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.002013/0.002013, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00217/0.00217, allocations: 161.3 kB / 24.28 MB, free: 148 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 1.576/1.576, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.28e-05, allocations: 2.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002954/0.002977, allocations: 1.56 MB / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004149/0.003391, allocations: 151.5 kB / 274 MB, free: 140 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.003463, allocations: 3.938 kB / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.003566, allocations: 7.938 kB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.251e-05/0.003659, allocations: 11.86 kB / 274 MB, free: 116 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.003861, allocations: 39.84 kB / 274.1 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.003969, allocations: 43.84 kB / 274.1 MB, free: 32 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.004063, allocations: 11.98 kB / 274.1 MB, free: 20 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.004136, allocations: 27.98 kB / 274.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.004176, allocations: 4 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.004199, allocations: 7.938 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.004213, allocations: 4 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.004261, allocations: 11.98 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.004295, allocations: 19.84 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.004414, allocations: 51.8 kB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.004423, allocations: 4 kB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004424, allocations: 3.938 kB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004428, allocations: 4 kB / 274.3 MB, free: 15.88 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.0005469/0.004975, allocations: 404 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.005011, allocations: 15.95 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.005057, allocations: 12.89 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.00527, allocations: 139.7 kB / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.005282, allocations: 4.375 kB / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.00529, allocations: 384 / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.00559, allocations: 132.6 kB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.005599, allocations: 192 / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.005607, allocations: 384 / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.005629, allocations: 384 / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.005729, allocations: 31.86 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.006216, allocations: 410.4 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.006616, allocations: 93.23 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.48e-05/0.0067, allocations: 43.11 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.006718, allocations: 7.938 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.006754, allocations: 33.39 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.456e-06/0.006757, allocations: 3.984 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003028/0.00706, allocations: 81.5 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.007149, allocations: 110.8 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.00734, allocations: 209.8 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.007364, allocations: 34.02 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.007465, allocations: 138.9 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.007478, allocations: 7.953 kB / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.007526, allocations: 23.38 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002708/0.007796, allocations: 0.4923 MB / 276.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/0.00784, allocations: 4 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-05/0.007897, allocations: 31.36 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.611e-05/0.007983, allocations: 31.36 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.007985, allocations: 4.062 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001395/0.008124, allocations: 57.58 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.008144, allocations: 11.94 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.008148, allocations: 0 / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.008161, allocations: 0 / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.008226, allocations: 4 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.008233, allocations: 3.984 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.305e-05/0.008266, allocations: 7.984 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.008272, allocations: 0 / 276.8 MB, free: 13.05 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.0001404/0.008412, allocations: 168.6 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.31e-05/0.008505, allocations: 45.64 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.008538, allocations: 19.89 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.008553, allocations: 4 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.008556, allocations: 0 / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.008562, allocations: 4 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.008788, allocations: 132.6 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.008793, allocations: 3.984 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.008838, allocations: 8 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.008843, allocations: 4.031 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.008849, allocations: 0 / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.008853, allocations: 3.938 kB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.008859, allocations: 7.938 kB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.009188, allocations: 338.8 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.009231, allocations: 15.94 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.009246, allocations: 3.938 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.009351, allocations: 7.938 kB / 277.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.009393, allocations: 0 / 277.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.0094, allocations: 4 kB / 277.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.009521, allocations: 162.2 kB / 277.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009521, allocations: 0 / 277.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.009771, allocations: 4 kB / 277.7 MB, free: 12.06 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.0001342/0.009905, allocations: 103.2 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.01007, allocations: 31.67 kB / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01007, allocations: 0 / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.689e-05/0.01014, allocations: 27.8 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.01057, allocations: 18.92 kB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.01098, allocations: 192.6 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.01108, allocations: 75.33 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.99e-05/0.01111, allocations: 4 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.01114, allocations: 8.5 kB / 278.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01114, allocations: 0 / 278.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of Templates: time 0.003566/0.01471, allocations: 0.6752 MB / 278.8 MB, free: 10.88 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.479689673054963]