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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00161/0.00161, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 64.23 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.107, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003552/0.1106, allocations: 1.959 MB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.1128, allocations: 1.355 MB / 362.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.113, allocations: 4 kB / 362.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.1134, allocations: 63.61 kB / 362.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.1138, allocations: 147.3 kB / 362.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007807/0.1145, allocations: 270.5 kB / 362.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.1149, allocations: 223.4 kB / 362.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.115, allocations: 52.27 kB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1152, allocations: 95.61 kB / 363 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1153, allocations: 107.5 kB / 363.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.1154, allocations: 12 kB / 363.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1155, allocations: 75.89 kB / 363.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.1156, allocations: 71.75 kB / 363.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.768e-05/0.1157, allocations: 99.34 kB / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.1161, allocations: 302.9 kB / 363.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1161, allocations: 0 / 363.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1161, allocations: 0 / 363.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1161, allocations: 0 / 363.7 MB, free: 8.48 MB / 302.1 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.0008681/0.117, allocations: 0.5895 MB / 364.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.117, allocations: 8.031 kB / 364.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.1171, allocations: 36.56 kB / 364.3 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.1175, allocations: 315.4 kB / 364.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1175, allocations: 8.375 kB / 364.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.1175, allocations: 20.11 kB / 364.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.1181, allocations: 315.2 kB / 365 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1181, allocations: 3.938 kB / 365 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1181, allocations: 7.984 kB / 365 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1181, allocations: 7.938 kB / 365 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.1183, allocations: 67.97 kB / 365.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.1188, allocations: 422.2 kB / 365.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.1192, allocations: 192 kB / 365.7 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.1193, allocations: 98.52 kB / 365.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.1194, allocations: 7.938 kB / 365.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.1195, allocations: 79.38 kB / 365.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.1195, allocations: 0 / 365.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005155/0.1201, allocations: 257.6 kB / 366.1 MB, free: 5.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.1202, allocations: 170.2 kB / 366.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.1205, allocations: 354.9 kB / 366.6 MB, free: 5.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1205, allocations: 33.7 kB / 366.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.1206, allocations: 124.7 kB / 366.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.1207, allocations: 31.7 kB / 366.8 MB, free: 5.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.1207, allocations: 57.92 kB / 366.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1209, allocations: 342.8 kB / 367.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.121, allocations: 48.38 kB / 367.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.1212, allocations: 192.1 kB / 367.4 MB, free: 4.391 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.1214, allocations: 203.2 kB / 367.6 MB, free: 4.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1214, allocations: 256 / 367.6 MB, free: 4.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003634/0.1218, allocations: 244.9 kB / 367.9 MB, free: 3.891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1218, allocations: 8 kB / 367.9 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1218, allocations: 4.531 kB / 367.9 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1219, allocations: 4 kB / 367.9 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.122, allocations: 51.91 kB / 367.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.122, allocations: 11.88 kB / 367.9 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1222, allocations: 19.84 kB / 368 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1222, allocations: 12 kB / 368 MB, free: 3.781 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,sum.y,sum.u[2],sum.u[1],upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.1224, allocations: 179.9 kB / 368.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.1226, allocations: 141.6 kB / 368.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.869e-05/0.1226, allocations: 37.78 kB / 368.3 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.1226, allocations: 8 kB / 368.3 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1227, allocations: 7.875 kB / 368.3 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1227, allocations: 3.984 kB / 368.3 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.1229, allocations: 265.4 kB / 368.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1229, allocations: 0 / 368.6 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.123, allocations: 27.92 kB / 368.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.123, allocations: 4 kB / 368.6 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.123, allocations: 4 kB / 368.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.123, allocations: 4 kB / 368.6 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1231, allocations: 3.938 kB / 368.6 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.1234, allocations: 250.3 kB / 368.9 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1235, allocations: 128.7 kB / 369 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.1236, allocations: 4.094 kB / 369 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.798e-05/0.1237, allocations: 7.938 kB / 369 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.1237, allocations: 15.92 kB / 369 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.1238, allocations: 8 kB / 369 MB, free: 2.598 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002366/0.124, allocations: 261.9 kB / 369.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.124, allocations: 0 / 369.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003408/0.1244, allocations: 51.98 kB / 369.4 MB, free: 2.289 MB / 302.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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 (22): * Single equations (assignments): 20 * 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.0009879/0.1254, allocations: 420.7 kB / 369.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.1257, allocations: 159.9 kB / 369.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1257, allocations: 0 / 369.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.1258, allocations: 27.98 kB / 369.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.1263, allocations: 125.2 kB / 370.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.127, allocations: 474.7 kB / 370.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1273, allocations: 0.7714 MB / 371.3 MB, free: 420 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.658e-05/0.1274, allocations: 38.5 kB / 371.3 MB, free: 380 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.1275, allocations: 27.44 kB / 371.4 MB, free: 352 kB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1275, allocations: 288 / 371.4 MB, free: 352 kB / 302.1 MB Notification: Performance of Templates: time 0.1864/0.3139, allocations: 3.511 MB / 374.9 MB, free: 19.39 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches