Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.002048/0.002048, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002529/0.002529, allocations: 156.9 kB / 24.26 MB, free: 148 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.627/1.627, 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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.338e-05/3.546e-05, allocations: 2.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003814/0.00385, allocations: 1.631 MB / 273.8 MB, free: 136 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.005421, allocations: 0.5336 MB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.005572, allocations: 3.938 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.005709, allocations: 7.938 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.005875, allocations: 11.86 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.006274, allocations: 71.67 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.006453, allocations: 67.72 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.00657, allocations: 7.984 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.006752, allocations: 47.83 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.006827, allocations: 27.91 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.006851, allocations: 4 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-05/0.006902, allocations: 8 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.00696, allocations: 11.94 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.007015, allocations: 23.91 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.007216, allocations: 75.72 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.00722, allocations: 0 / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.007222, allocations: 0 / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.007227, allocations: 0 / 274.7 MB, free: 15.23 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.0006439/0.007871, allocations: 317.8 kB / 275 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.007919, allocations: 19.98 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/0.008201, allocations: 32.86 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.008593, allocations: 161.4 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.008605, allocations: 384 / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.00862, allocations: 4.375 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.008991, allocations: 130.4 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.009001, allocations: 192 / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.009014, allocations: 4.312 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.009047, allocations: 7.938 kB / 275.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.009192, allocations: 39.91 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.009746, allocations: 317.6 kB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.009928, allocations: 87.77 kB / 275.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.01003, allocations: 42.62 kB / 275.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.01005, allocations: 4 kB / 275.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.01009, allocations: 38.44 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.01009, allocations: 0 / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004345/0.01053, allocations: 113.5 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.01062, allocations: 107.2 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.01079, allocations: 154.3 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.01081, allocations: 25.7 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.0109, allocations: 104 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.01092, allocations: 11.95 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.01096, allocations: 9.719 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.01114, allocations: 322.8 kB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.01122, allocations: 15.92 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.01129, allocations: 29.7 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.01143, allocations: 49.75 kB / 276.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.01143, allocations: 0 / 276.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.01162, allocations: 73.5 kB / 276.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.01164, allocations: 8 kB / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.01165, allocations: 3.984 kB / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01166, allocations: 0 / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.01175, allocations: 12.06 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01176, allocations: 0 / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.319e-05/0.01181, allocations: 7.984 kB / 276.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.01182, allocations: 0 / 276.9 MB, free: 12.78 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.0001164/0.01193, allocations: 121.8 kB / 277.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.01204, allocations: 57.53 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.01207, allocations: 15.95 kB / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.01209, allocations: 0 / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.01209, allocations: 4 kB / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.0121, allocations: 4.031 kB / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.01232, allocations: 121.3 kB / 277.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.01233, allocations: 7.938 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.01239, allocations: 7.984 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01239, allocations: 0 / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.0124, allocations: 7.938 kB / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01241, allocations: 0 / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01241, allocations: 0 / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.01276, allocations: 279.5 kB / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.0128, allocations: 23.92 kB / 277.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.01283, allocations: 3.938 kB / 277.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.01295, allocations: 11.98 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.013, allocations: 0 / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.01301, allocations: 4 kB / 277.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.01313, allocations: 116.1 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01313, allocations: 0 / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.01339, allocations: 8 kB / 277.7 MB, free: 11.94 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.0001343/0.01353, allocations: 99.23 kB / 277.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.01373, allocations: 47.91 kB / 277.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01373, allocations: 0 / 277.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.0138, allocations: 19.98 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.01426, allocations: 28.52 kB / 277.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.01476, allocations: 214.2 kB / 278.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.01488, allocations: 93.45 kB / 278.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.49e-05/0.01495, allocations: 7.984 kB / 278.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.01499, allocations: 12.5 kB / 278.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01499, allocations: 0 / 278.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Templates: time 0.003611/0.0186, allocations: 0.7319 MB / 279 MB, free: 10.65 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.471842398052104]