Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.0008112/0.0008112, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009274/0.001739, 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.0006838/0.0006838, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008306/0.001514, 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 0.9685/0.9685, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0894/1.058, allocations: 53.87 MB / 243.8 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.54e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002937/0.002963, allocations: 1.665 MB / 246.7 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.00403, allocations: 0.5303 MB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.0041, allocations: 8 kB / 247.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.004136, allocations: 7.938 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.004207, allocations: 11.88 kB / 247.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.004436, allocations: 55.73 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.336e-05/0.00453, allocations: 39.8 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.05e-05/0.0046, allocations: 8 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.004743, allocations: 39.89 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.004794, allocations: 11.98 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.004809, allocations: 4 kB / 247.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.138e-05/0.004861, allocations: 4 kB / 247.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.004893, allocations: 11.94 kB / 247.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.792e-05/0.004911, allocations: 11.94 kB / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.005028, allocations: 35.84 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.401e-05/0.005042, allocations: 4 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.005043, allocations: 0 / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.005057, allocations: 0 / 247.5 MB, free: 11.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003809/0.005438, allocations: 284.2 kB / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.005471, allocations: 12.62 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.005634, allocations: 98.03 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.005813, allocations: 144.9 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.005821, allocations: 384 / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.005829, allocations: 4.375 kB / 248 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.005989, allocations: 90.31 kB / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.005995, allocations: 192 / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.006003, allocations: 4.375 kB / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.00601, allocations: 7.938 kB / 248.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.426e-05/0.006034, allocations: 11.91 kB / 248.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.006205, allocations: 157.1 kB / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.369e-05/0.006249, allocations: 33.19 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/0.006263, allocations: 21.77 kB / 248.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.006278, allocations: 4 kB / 248.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.006297, allocations: 30.56 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.006298, allocations: 0 / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 8.87e-05/0.006387, allocations: 49.56 kB / 248.4 MB, free: 10.1 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.006423, allocations: 77.11 kB / 248.5 MB, free: 10.01 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.006489, allocations: 138.9 kB / 248.6 MB, free: 9.859 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.006498, allocations: 25.7 kB / 248.6 MB, free: 9.828 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.006526, allocations: 88.12 kB / 248.7 MB, free: 9.738 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/0.006536, allocations: 0 / 248.7 MB, free: 9.738 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.006561, allocations: 21.66 kB / 248.7 MB, free: 9.711 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.025e-05/0.006632, allocations: 310.8 kB / 249 MB, free: 9.398 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-06/0.006638, allocations: 4 kB / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/0.006643, allocations: 0 / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.029e-05/0.006663, allocations: 12.8 kB / 249.1 MB, free: 9.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006665, allocations: 0 / 249.1 MB, free: 9.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.448e-05/0.006709, allocations: 41.75 kB / 249.1 MB, free: 9.332 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.006721, allocations: 4 kB / 249.1 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006724, allocations: 4 kB / 249.1 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-06/0.00673, allocations: 3.938 kB / 249.1 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.006778, allocations: 3.984 kB / 249.1 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.006781, allocations: 3.984 kB / 249.1 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.006794, allocations: 7.938 kB / 249.1 MB, free: 9.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.006798, allocations: 0 / 249.1 MB, free: 9.305 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 4.879e-05/0.006847, allocations: 116.7 kB / 249.2 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.006877, allocations: 45.66 kB / 249.3 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.006896, allocations: 3.812 kB / 249.3 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.006899, allocations: 7.938 kB / 249.3 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.0069, allocations: 0 / 249.3 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.006902, allocations: 0 / 249.3 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.96e-05/0.006982, allocations: 73.88 kB / 249.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006983, allocations: 0 / 249.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.007004, allocations: 4 kB / 249.4 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.007029, allocations: 19.94 kB / 249.4 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.00703, allocations: 0 / 249.4 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-06/0.007033, allocations: 0 / 249.4 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.007035, allocations: 7.969 kB / 249.4 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007036, allocations: 0 / 249.4 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.617e-05/0.007112, allocations: 140.3 kB / 249.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.00712, allocations: 0 / 249.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.838e-05/0.007148, allocations: 0 / 249.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.007168, allocations: 11.92 kB / 249.6 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.00717, allocations: 0 / 249.6 MB, free: 8.828 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.743e-05/0.007198, allocations: 31.92 kB / 249.6 MB, free: 8.797 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007198, allocations: 0 / 249.6 MB, free: 8.797 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001071/0.007305, allocations: 4 kB / 249.6 MB, free: 8.793 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 (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 Backend phase and start with SimCode phase: time 6.64e-05/0.007371, allocations: 80.45 kB / 249.7 MB, free: 8.703 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.194e-05/0.007413, allocations: 8.859 kB / 249.7 MB, free: 8.691 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.007416, allocations: 3.938 kB / 249.7 MB, free: 8.688 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.057e-05/0.007427, allocations: 12.84 kB / 249.7 MB, free: 8.672 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.007583, allocations: 12.31 kB / 249.7 MB, free: 8.656 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/0.008178, allocations: 175.8 kB / 249.9 MB, free: 8.457 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.008206, allocations: 59.3 kB / 249.9 MB, free: 8.379 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.835e-05/0.008225, allocations: 3.984 kB / 249.9 MB, free: 8.375 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.008267, allocations: 55.38 kB / 250 MB, free: 8.32 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008268, allocations: 0 / 250 MB, free: 8.32 MB / 250.7 MB Notification: Performance of Templates: time 0.001889/0.01016, allocations: 0.5438 MB / 250.5 MB, free: 7.789 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.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.3728002281859517]