Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.001947/0.001947, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002054/0.002054, allocations: 160.8 kB / 24.27 MB, free: 156 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.557/1.557, allocations: 177 MB / 204.5 MB, free: 5.613 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.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.482e-05, allocations: 5.266 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003845/0.00388, allocations: 1.983 MB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.006824, allocations: 1.304 MB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.006989, allocations: 7.938 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.007383, allocations: 79.47 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.00785, allocations: 139.3 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.008675, allocations: 267 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.009027, allocations: 231.2 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.009156, allocations: 32.58 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.009366, allocations: 131.7 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.009545, allocations: 83.78 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.009587, allocations: 20 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.009777, allocations: 79.8 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.009886, allocations: 71.75 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.336e-05/0.00998, allocations: 55.78 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.01047, allocations: 302.9 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.01048, allocations: 3.984 kB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01048, allocations: 0 / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.01049, allocations: 4 kB / 277 MB, free: 13.02 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001049/0.01154, allocations: 0.6407 MB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.01158, allocations: 11.98 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.01169, allocations: 44.75 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.01216, allocations: 244.6 kB / 277.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.01219, allocations: 16.38 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.01222, allocations: 12.38 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.01292, allocations: 355.8 kB / 278.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.01293, allocations: 192 / 278.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.01295, allocations: 4.375 kB / 278.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.01297, allocations: 7.938 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.01315, allocations: 55.91 kB / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.01388, allocations: 422.9 kB / 278.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.01429, allocations: 197.4 kB / 278.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.01447, allocations: 83.03 kB / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.01451, allocations: 7.938 kB / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.01469, allocations: 92.91 kB / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.0147, allocations: 0 / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.00059/0.01529, allocations: 241.5 kB / 279.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.01542, allocations: 140.5 kB / 279.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.01589, allocations: 398.3 kB / 279.9 MB, free: 9.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.01592, allocations: 33.7 kB / 279.9 MB, free: 9.789 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.01609, allocations: 195.4 kB / 280.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.01613, allocations: 23.84 kB / 280.1 MB, free: 9.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.01622, allocations: 59.36 kB / 280.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003404/0.01656, allocations: 0.5235 MB / 280.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.01664, allocations: 23.98 kB / 280.7 MB, free: 8.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.01683, allocations: 160.9 kB / 280.9 MB, free: 8.742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.01703, allocations: 118 kB / 281 MB, free: 8.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.01704, allocations: 4 kB / 281 MB, free: 8.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003059/0.01734, allocations: 153.6 kB / 281.2 MB, free: 8.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.01736, allocations: 4 kB / 281.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01736, allocations: 0 / 281.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.01739, allocations: 4 kB / 281.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.0175, allocations: 23.92 kB / 281.2 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.0175, allocations: 4 kB / 281.2 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.099e-05/0.01758, allocations: 16.09 kB / 281.2 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.0176, allocations: 4 kB / 281.2 MB, free: 8.387 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.000168/0.01776, allocations: 176.6 kB / 281.4 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.018, allocations: 141.7 kB / 281.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.01831, allocations: 127.5 kB / 281.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.01832, allocations: 4 kB / 281.7 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01832, allocations: 0 / 281.7 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01833, allocations: 0 / 281.7 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.01886, allocations: 240.4 kB / 281.9 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.01886, allocations: 4 kB / 281.9 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.019, allocations: 31.92 kB / 281.9 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.01901, allocations: 3.938 kB / 281.9 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.01903, allocations: 15.92 kB / 281.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01903, allocations: 0 / 281.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01903, allocations: 0 / 281.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.0195, allocations: 251.4 kB / 282.2 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.01962, allocations: 51.77 kB / 282.2 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.01966, allocations: 4 kB / 282.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.01975, allocations: 11.94 kB / 282.3 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.01981, allocations: 7.984 kB / 282.3 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.01984, allocations: 19.98 kB / 282.3 MB, free: 7.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002822/0.02012, allocations: 251 kB / 282.5 MB, free: 6.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02012, allocations: 0 / 282.5 MB, free: 6.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.02042, allocations: 51.89 kB / 282.6 MB, free: 6.934 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: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00303/0.02345, allocations: 457.1 kB / 283 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.02377, allocations: 120.6 kB / 283.1 MB, free: 6.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.02378, allocations: 4.062 kB / 283.1 MB, free: 6.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.413e-05/0.02387, allocations: 35.67 kB / 283.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.02443, allocations: 120.1 kB / 283.3 MB, free: 6.348 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.02527, allocations: 455.2 kB / 283.7 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.02546, allocations: 157.2 kB / 283.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.219e-05/0.02554, allocations: 34.44 kB / 283.9 MB, free: 5.664 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.781e-05/0.02562, allocations: 28.5 kB / 284 MB, free: 5.637 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02562, allocations: 0 / 284 MB, free: 5.637 MB / 266.7 MB Notification: Performance of Templates: time 0.009349/0.03497, allocations: 3.628 MB / 287.6 MB, free: 2.047 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.568913944996893]