Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001166/0.001166, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002506, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001056/0.001056, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002389, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.007/1.007, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09173/1.099, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 4 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.255e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002006/0.002029, allocations: 1.684 MB / 246.7 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006607/0.002689, allocations: 0.5343 MB / 247.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.004e-05/0.002759, allocations: 7.938 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.002792, allocations: 7.922 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.512e-05/0.002858, allocations: 3.938 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.003073, allocations: 63.67 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.571e-05/0.003159, allocations: 39.86 kB / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.499e-05/0.003234, allocations: 16 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.003354, allocations: 43.89 kB / 247.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.003397, allocations: 11.92 kB / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.003411, allocations: 4 kB / 247.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.928e-05/0.00346, allocations: 8 kB / 247.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.003495, allocations: 15.92 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.003515, allocations: 11.94 kB / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.003618, allocations: 43.78 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.003628, allocations: 3.938 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.003629, allocations: 0 / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.00364, allocations: 4 kB / 247.5 MB, free: 11.12 MB / 250.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.0003308/0.003971, allocations: 292.3 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.004008, allocations: 12.62 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.004137, allocations: 94.03 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.004272, allocations: 136.7 kB / 248 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.004279, allocations: 4.375 kB / 248 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.004288, allocations: 8.375 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.00444, allocations: 122.2 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.004446, allocations: 4.188 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.004452, allocations: 384 / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.004456, allocations: 3.938 kB / 248.2 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.546e-05/0.004471, allocations: 7.938 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.00461, allocations: 157.1 kB / 248.3 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.499e-05/0.004705, allocations: 49.12 kB / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.004724, allocations: 17.78 kB / 248.4 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.004741, allocations: 4 kB / 248.4 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.004761, allocations: 38.5 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.004762, allocations: 0 / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001211/0.004883, allocations: 53.61 kB / 248.5 MB, free: 9.992 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.004926, allocations: 81.05 kB / 248.6 MB, free: 9.895 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.387e-05/0.005, allocations: 138.6 kB / 248.7 MB, free: 9.746 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.005009, allocations: 29.7 kB / 248.7 MB, free: 9.711 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.005037, allocations: 80.14 kB / 248.8 MB, free: 9.629 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.005052, allocations: 3.953 kB / 248.8 MB, free: 9.625 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.005072, allocations: 21.83 kB / 248.8 MB, free: 9.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.005153, allocations: 318.8 kB / 249.2 MB, free: 9.277 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-06/0.005161, allocations: 0 / 249.2 MB, free: 9.277 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.005167, allocations: 0 / 249.2 MB, free: 9.277 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.005192, allocations: 8.859 kB / 249.2 MB, free: 9.266 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005194, allocations: 0 / 249.2 MB, free: 9.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.339e-05/0.005237, allocations: 37.62 kB / 249.2 MB, free: 9.223 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.005249, allocations: 8 kB / 249.2 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.005254, allocations: 0 / 249.2 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.005263, allocations: 4.031 kB / 249.2 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.005307, allocations: 15.98 kB / 249.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.005311, allocations: 0 / 249.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.42e-05/0.005325, allocations: 0 / 249.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.005329, allocations: 0 / 249.2 MB, free: 9.195 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.521e-05/0.005384, allocations: 116.7 kB / 249.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.005418, allocations: 37.69 kB / 249.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.005443, allocations: 12.34 kB / 249.4 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.005447, allocations: 3.938 kB / 249.4 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.005448, allocations: 0 / 249.4 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.005451, allocations: 0 / 249.4 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.196e-05/0.005533, allocations: 81.81 kB / 249.5 MB, free: 8.914 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.005534, allocations: 0 / 249.5 MB, free: 8.914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.005563, allocations: 15.92 kB / 249.5 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.005589, allocations: 15.89 kB / 249.5 MB, free: 8.883 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005591, allocations: 0 / 249.5 MB, free: 8.883 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.005596, allocations: 3.984 kB / 249.5 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.005598, allocations: 3.938 kB / 249.5 MB, free: 8.875 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005598, allocations: 4 kB / 249.5 MB, free: 8.871 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.519e-05/0.005664, allocations: 136.4 kB / 249.7 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.005672, allocations: 0 / 249.7 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.856e-05/0.0057, allocations: 8.031 kB / 249.7 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.005723, allocations: 7.875 kB / 249.7 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-06/0.005725, allocations: 0 / 249.7 MB, free: 8.703 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.159e-05/0.005747, allocations: 27.92 kB / 249.7 MB, free: 8.676 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005747, allocations: 4 kB / 249.7 MB, free: 8.672 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001134/0.00586, allocations: 8 kB / 249.7 MB, free: 8.664 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 7.245e-05/0.005932, allocations: 76.41 kB / 249.8 MB, free: 8.578 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.511e-05/0.005988, allocations: 12.86 kB / 249.8 MB, free: 8.562 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.005992, allocations: 64 / 249.8 MB, free: 8.562 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.006004, allocations: 12.86 kB / 249.8 MB, free: 8.547 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.006183, allocations: 25.03 kB / 249.8 MB, free: 8.52 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.006792, allocations: 175.1 kB / 250 MB, free: 8.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.006832, allocations: 63.34 kB / 250.1 MB, free: 8.238 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.063e-05/0.006852, allocations: 3.984 kB / 250.1 MB, free: 8.234 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.006896, allocations: 51.38 kB / 250.1 MB, free: 8.184 MB / 250.7 MB Notification: Performance of SimCode: time 8.82e-07/0.006897, allocations: 4.062 kB / 250.1 MB, free: 8.18 MB / 250.7 MB Notification: Performance of Templates: time 0.002176/0.009073, allocations: 0.5874 MB / 250.7 MB, free: 7.602 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3696559006348252]