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.008657/0.008657, allocations: 106.4 kB / 21.98 MB, free: 5.223 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.002/0.002, allocations: 211.9 kB / 25.29 MB, free: 3.203 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.667/1.667, allocations: 230.6 MB / 259 MB, free: 8.031 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.002025/0.002025, allocations: 67.89 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2936, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003844/0.2975, allocations: 1.555 MB / 434.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005208/0.298, allocations: 151.4 kB / 434.9 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.2981, allocations: 4 kB / 434.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.2982, allocations: 11.86 kB / 434.9 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2983, allocations: 3.938 kB / 434.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.2986, allocations: 43.89 kB / 434.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.2988, allocations: 43.8 kB / 435 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.2989, allocations: 11.98 kB / 435 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.2989, allocations: 15.94 kB / 435 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.299, allocations: 23.86 kB / 435 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.299, allocations: 4 kB / 435 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.299, allocations: 0 / 435 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.2991, allocations: 27.91 kB / 435.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.2991, allocations: 27.75 kB / 435.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.2993, allocations: 60.94 kB / 435.1 MB, free: 5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2993, allocations: 0 / 435.1 MB, free: 5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2993, allocations: 0 / 435.1 MB, free: 5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2993, allocations: 0 / 435.1 MB, free: 5 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.0005442/0.2999, allocations: 306 kB / 435.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2999, allocations: 12.03 kB / 435.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.2999, allocations: 8.891 kB / 435.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.3002, allocations: 138.3 kB / 435.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.3002, allocations: 384 / 435.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3002, allocations: 4.375 kB / 435.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.3006, allocations: 134.4 kB / 435.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.3006, allocations: 192 / 435.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3006, allocations: 7.938 kB / 435.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.3006, allocations: 0 / 435.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3007, allocations: 39.91 kB / 435.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.3012, allocations: 337 kB / 436.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.3014, allocations: 87.66 kB / 436.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.3014, allocations: 38.61 kB / 436.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3015, allocations: 0 / 436.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.3015, allocations: 42.5 kB / 436.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3015, allocations: 0 / 436.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003494/0.3018, allocations: 109.7 kB / 436.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/0.3019, allocations: 102.8 kB / 436.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3021, allocations: 148.5 kB / 436.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3021, allocations: 29.69 kB / 436.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.3022, allocations: 84.14 kB / 436.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.3022, allocations: 7.953 kB / 436.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.3022, allocations: 17.91 kB / 436.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3024, allocations: 326.8 kB / 437.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.3024, allocations: 15.92 kB / 437.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.85e-05/0.3025, allocations: 39.42 kB / 437.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.3026, allocations: 63.34 kB / 437.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3026, allocations: 3.938 kB / 437.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001717/0.3028, allocations: 85.55 kB / 437.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3028, allocations: 4 kB / 437.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3028, allocations: 8.125 kB / 437.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3029, allocations: 3.938 kB / 437.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.303, allocations: 11.98 kB / 437.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.303, allocations: 0 / 437.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.303, allocations: 4 kB / 437.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.303, allocations: 4 kB / 437.3 MB, free: 2.555 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.0001131/0.3031, allocations: 129.7 kB / 437.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.3032, allocations: 57.64 kB / 437.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.3033, allocations: 7.922 kB / 437.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.3033, allocations: 4 kB / 437.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3033, allocations: 4 kB / 437.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3033, allocations: 4 kB / 437.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.3035, allocations: 156.6 kB / 437.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3035, allocations: 3.938 kB / 437.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.3036, allocations: 8 kB / 437.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3036, allocations: 0 / 437.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.3036, allocations: 0 / 437.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3036, allocations: 4 kB / 437.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3036, allocations: 7.969 kB / 437.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.3039, allocations: 259.5 kB / 438 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.3039, allocations: 15.94 kB / 438 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3039, allocations: 4 kB / 438 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.304, allocations: 11.98 kB / 438 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.3041, allocations: 0 / 438 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3041, allocations: 0 / 438 MB, free: 1.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.475e-05/0.3042, allocations: 115.2 kB / 438.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3042, allocations: 0 / 438.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00026/0.3044, allocations: 4 kB / 438.1 MB, free: 1.691 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.0001292/0.3045, allocations: 111.2 kB / 438.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.3047, allocations: 51.95 kB / 438.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3047, allocations: 0 / 438.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.866e-05/0.3048, allocations: 19.92 kB / 438.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.3052, allocations: 27.94 kB / 438.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.3056, allocations: 209.4 kB / 438.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.306, allocations: 0.6963 MB / 439.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.306, allocations: 11.38 kB / 439.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.306, allocations: 4 kB / 439.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of Templates: time 0.002711/0.3088, allocations: 0.8319 MB / 440.1 MB, free: 15.67 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.405216091079637]