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.001925/0.001925, allocations: 91.61 kB / 20.96 MB, free: 3.438 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.002036/0.002036, allocations: 156.9 kB / 24.27 MB, free: 140 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.593/1.593, allocations: 177 MB / 204.5 MB, free: 5.637 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.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.773e-06/1.773e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.551e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003349/0.003385, allocations: 1.58 MB / 273.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.004609, allocations: 0.5179 MB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.004694, allocations: 0 / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.48e-05/0.004759, allocations: 7.938 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.004893, allocations: 11.92 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.005176, allocations: 51.7 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.005285, allocations: 43.84 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.144e-05/0.005377, allocations: 11.98 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.005516, allocations: 27.86 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.005583, allocations: 15.98 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.005601, allocations: 0 / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.404e-05/0.005645, allocations: 7.984 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.005695, allocations: 15.92 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.00572, allocations: 15.94 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.005875, allocations: 59.73 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005878, allocations: 0 / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005879, allocations: 0 / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.005884, allocations: 0 / 274.6 MB, free: 15.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005586/0.006443, allocations: 392 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.006494, allocations: 15.98 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.006659, allocations: 20.88 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.006907, allocations: 144.4 kB / 275.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.006919, allocations: 4.375 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.006935, allocations: 8.359 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.007198, allocations: 100.9 kB / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.007207, allocations: 192 / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.007219, allocations: 4.375 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.007226, allocations: 3.938 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.007292, allocations: 19.86 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.007727, allocations: 283.5 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.007841, allocations: 58.12 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.007901, allocations: 27.42 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.007926, allocations: 0 / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.007971, allocations: 41.33 kB / 275.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.007972, allocations: 0 / 275.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002528/0.008224, allocations: 65.58 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.008302, allocations: 77.11 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.008502, allocations: 205.4 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.008522, allocations: 33.69 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.008614, allocations: 134.9 kB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.008627, allocations: 0 / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.008673, allocations: 27.33 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002811/0.008954, allocations: 0.4883 MB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.008989, allocations: 8 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.009011, allocations: 4 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.147e-05/0.009073, allocations: 19.67 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.009074, allocations: 0 / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.594e-05/0.00917, allocations: 45.77 kB / 276.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.009188, allocations: 11.92 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.009192, allocations: 0 / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.009204, allocations: 0 / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.009261, allocations: 4 kB / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.009271, allocations: 3.938 kB / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.009304, allocations: 0 / 276.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.009314, allocations: 4 kB / 276.8 MB, free: 12.96 MB / 266.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 0.0001153/0.009429, allocations: 156.6 kB / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.009501, allocations: 49.61 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.009535, allocations: 11.81 kB / 277 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.009537, allocations: 0 / 277 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.00954, allocations: 0 / 277 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.009544, allocations: 0 / 277 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.00972, allocations: 132.6 kB / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.009721, allocations: 0 / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.009756, allocations: 4 kB / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.009758, allocations: 7.938 kB / 277.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.009767, allocations: 3.938 kB / 277.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009768, allocations: 4.031 kB / 277.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.009769, allocations: 0 / 277.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.00999, allocations: 215.5 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.01003, allocations: 11.94 kB / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.01005, allocations: 7.938 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.825e-05/0.0101, allocations: 4 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.01014, allocations: 7.984 kB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.01015, allocations: 4 kB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.01027, allocations: 147.2 kB / 277.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01027, allocations: 0 / 277.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.01047, allocations: 8.031 kB / 277.6 MB, free: 12.13 MB / 266.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 0.0001278/0.0106, allocations: 91.25 kB / 277.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.01073, allocations: 31.61 kB / 277.7 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01073, allocations: 0 / 277.7 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.844e-05/0.01077, allocations: 11.69 kB / 277.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.0111, allocations: 19.39 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.01149, allocations: 173.4 kB / 277.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.397e-05/0.01158, allocations: 71.34 kB / 277.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.081e-05/0.01162, allocations: 11.97 kB / 278 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.01166, allocations: 8.5 kB / 278 MB, free: 11.65 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01166, allocations: 0 / 278 MB, free: 11.65 MB / 266.7 MB Notification: Performance of Templates: time 0.00328/0.01494, allocations: 0.5209 MB / 278.5 MB, free: 11.14 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.544059736886993]