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.001693/0.001693, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001698/0.001698, allocations: 156.9 kB / 24.27 MB, free: 172 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.479/1.479, allocations: 177 MB / 204.4 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 2.204e-06/2.204e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.427e-05/3.648e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.004347/0.004383, allocations: 1.96 MB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.007243, allocations: 1.28 MB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.007437, allocations: 7.938 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.007854, allocations: 75.47 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.00832, allocations: 143.3 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.009339, allocations: 271 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.009718, allocations: 231.2 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.009863, allocations: 28.58 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.0101, allocations: 131.7 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.01028, allocations: 83.78 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.01032, allocations: 12 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.01054, allocations: 83.81 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.01065, allocations: 71.75 kB / 276.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.01075, allocations: 55.77 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.01126, allocations: 306.9 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.01126, allocations: 3.984 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.01126, allocations: 0 / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.01127, allocations: 0 / 276.9 MB, free: 13.06 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.00109/0.01236, allocations: 0.5178 MB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.01241, allocations: 15.98 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.01253, allocations: 44.69 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.013, allocations: 257.8 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.01303, allocations: 12.38 kB / 277.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.01306, allocations: 16.31 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.01379, allocations: 342.8 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.0138, allocations: 4.188 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.01382, allocations: 4.375 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.01383, allocations: 7.938 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.01403, allocations: 71.89 kB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.01467, allocations: 338 kB / 278.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.01511, allocations: 191.9 kB / 278.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.0153, allocations: 90.53 kB / 278.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.01533, allocations: 15.92 kB / 278.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.01554, allocations: 75.33 kB / 278.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.01554, allocations: 4 kB / 278.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006805/0.01623, allocations: 269.5 kB / 279.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.01637, allocations: 140.8 kB / 279.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004488/0.01682, allocations: 360.1 kB / 279.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.01685, allocations: 33.7 kB / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01699, allocations: 132.6 kB / 279.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.01703, allocations: 23.84 kB / 279.8 MB, free: 9.914 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.148e-05/0.0171, allocations: 41.7 kB / 279.9 MB, free: 9.867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003095/0.01741, allocations: 334.8 kB / 280.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.0175, allocations: 31.98 kB / 280.2 MB, free: 9.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.01768, allocations: 146.2 kB / 280.4 MB, free: 9.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.01788, allocations: 109 kB / 280.5 MB, free: 9.195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.01788, allocations: 0 / 280.5 MB, free: 9.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003145/0.0182, allocations: 173.3 kB / 280.6 MB, free: 9.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.01822, allocations: 4 kB / 280.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.01823, allocations: 4 kB / 280.6 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.01824, allocations: 0 / 280.6 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.01835, allocations: 15.98 kB / 280.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.01837, allocations: 7.938 kB / 280.7 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.01846, allocations: 11.94 kB / 280.7 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.01847, allocations: 4.469 kB / 280.7 MB, free: 8.973 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.0001964/0.01867, allocations: 165.8 kB / 280.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.01892, allocations: 157.6 kB / 281 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.01925, allocations: 135.5 kB / 281.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01926, allocations: 4 kB / 281.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.01927, allocations: 4 kB / 281.1 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01927, allocations: 0 / 281.1 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.01952, allocations: 193.1 kB / 281.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01952, allocations: 0 / 281.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.01966, allocations: 27.98 kB / 281.4 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.01966, allocations: 11.88 kB / 281.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.01968, allocations: 11.94 kB / 281.4 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01969, allocations: 0 / 281.4 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.01969, allocations: 4 kB / 281.4 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.02017, allocations: 262.4 kB / 281.6 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.02028, allocations: 47.77 kB / 281.7 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.02033, allocations: 8 kB / 281.7 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.02042, allocations: 8 kB / 281.7 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.02049, allocations: 7.984 kB / 281.7 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.02052, allocations: 8 kB / 281.7 MB, free: 7.859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003223/0.02084, allocations: 267 kB / 282 MB, free: 7.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02084, allocations: 0 / 282 MB, free: 7.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003238/0.02116, allocations: 51.88 kB / 282 MB, free: 7.547 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.002022/0.02319, allocations: 451.8 kB / 282.5 MB, free: 7.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.02353, allocations: 120.6 kB / 282.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02353, allocations: 4.312 kB / 282.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/0.02363, allocations: 31.97 kB / 282.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.02421, allocations: 128.3 kB / 282.7 MB, free: 6.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000911/0.02512, allocations: 495.9 kB / 283.2 MB, free: 6.453 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.0253, allocations: 157.2 kB / 283.4 MB, free: 6.285 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.33e-05/0.02539, allocations: 34.31 kB / 283.4 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.02546, allocations: 28.5 kB / 283.4 MB, free: 6.219 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02546, allocations: 0 / 283.4 MB, free: 6.219 MB / 266.7 MB Notification: Performance of Templates: time 0.009011/0.03447, allocations: 3.645 MB / 287.1 MB, free: 2.613 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 480] 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.554800774087198]