Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001827/0.001827, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001456/0.001456, allocations: 161.7 kB / 24.27 MB, free: 172 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.523/1.523, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.RealSignals.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.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.257e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003065/0.003098, allocations: 1.627 MB / 274 MB, free: 184 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.004255, allocations: 0.5297 MB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.312e-05/0.004338, allocations: 0 / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.004457, allocations: 11.86 kB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.004585, allocations: 15.88 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.004969, allocations: 71.66 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.005117, allocations: 59.78 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.005223, allocations: 15.94 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.005387, allocations: 43.88 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.005454, allocations: 19.92 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.005477, allocations: 8 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.94e-05/0.005526, allocations: 8 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.005583, allocations: 15.92 kB / 274.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.005632, allocations: 19.92 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.005827, allocations: 83.64 kB / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.00583, allocations: 0 / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005831, allocations: 0 / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005835, allocations: 0 / 274.9 MB, free: 15.28 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.000614/0.006449, allocations: 321.8 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.006491, allocations: 12.03 kB / 275.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002738/0.006764, allocations: 28.88 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.00708, allocations: 154.2 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.007093, allocations: 4.312 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.007106, allocations: 4.375 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.007451, allocations: 126.4 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.007459, allocations: 4.188 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.007471, allocations: 384 / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.007501, allocations: 11.88 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.007654, allocations: 43.95 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.008342, allocations: 309.5 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.008527, allocations: 91.77 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.008623, allocations: 38.62 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.008645, allocations: 4 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.008681, allocations: 34.5 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.008682, allocations: 0 / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004427/0.009125, allocations: 117.5 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.775e-05/0.009222, allocations: 110.8 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.009393, allocations: 152.7 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.009416, allocations: 33.7 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.009502, allocations: 100 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.009523, allocations: 7.938 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.009563, allocations: 13.72 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.00975, allocations: 318.8 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.009822, allocations: 15.98 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.009896, allocations: 25.7 kB / 276.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.01004, allocations: 53.69 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01005, allocations: 0 / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001996/0.01025, allocations: 77.48 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01026, allocations: 8 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01027, allocations: 0 / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.01028, allocations: 0 / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.01038, allocations: 7.984 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.01039, allocations: 12.05 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.01044, allocations: 0 / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.01045, allocations: 8 kB / 277.1 MB, free: 12.84 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: 0 () * 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.0001093/0.01056, allocations: 117.8 kB / 277.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.01068, allocations: 65.52 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.01071, allocations: 11.97 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.01072, allocations: 0 / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.01073, allocations: 4 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01073, allocations: 0 / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.01096, allocations: 125.3 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01096, allocations: 0 / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.01102, allocations: 15.92 kB / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01103, allocations: 0 / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.01104, allocations: 7.938 kB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01104, allocations: 0 / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01104, allocations: 0 / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.01139, allocations: 279.5 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.01143, allocations: 23.92 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.01146, allocations: 11.94 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.0116, allocations: 4 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.01164, allocations: 3.984 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.01165, allocations: 0 / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.01176, allocations: 124.7 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01176, allocations: 0 / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.01203, allocations: 8 kB / 277.8 MB, free: 11.99 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: 0 () * 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.000129/0.01216, allocations: 95.25 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.01237, allocations: 51.91 kB / 278 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01237, allocations: 0 / 278 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/0.01245, allocations: 19.97 kB / 278 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.01293, allocations: 24.58 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.01341, allocations: 218.1 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.01353, allocations: 89.45 kB / 278.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.256e-05/0.01358, allocations: 4 kB / 278.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.01362, allocations: 16.48 kB / 278.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01362, allocations: 0 / 278.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of Templates: time 0.00353/0.01715, allocations: 0.7255 MB / 279.1 MB, free: 10.7 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.404369449010119]