Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.001001, allocations: 95.88 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 202 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.121/1.121, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001785/0.0001785, allocations: 4 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07445/0.07464, allocations: 51.53 MB / 359.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.001915/0.07659, allocations: 1.704 MB / 361 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.0782, allocations: 1.208 MB / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.07829, allocations: 0 / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.07875, allocations: 139.6 kB / 362.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.07902, allocations: 143.5 kB / 362.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.07947, allocations: 191.1 kB / 362.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.07969, allocations: 227.4 kB / 362.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.0798, allocations: 52.25 kB / 362.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.336e-05/0.0799, allocations: 75.64 kB / 363 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.08001, allocations: 95.47 kB / 363.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.08004, allocations: 4 kB / 363.1 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.08014, allocations: 43.98 kB / 363.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.08021, allocations: 43.83 kB / 363.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.209e-05/0.0803, allocations: 113 kB / 363.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.08053, allocations: 239.4 kB / 363.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.08054, allocations: 4 kB / 363.5 MB, free: 9.008 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08055, allocations: 0 / 363.5 MB, free: 9.008 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.08056, allocations: 0 / 363.5 MB, free: 9.008 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.0005675/0.08113, allocations: 0.5119 MB / 364 MB, free: 8.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.08117, allocations: 12.02 kB / 364 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.08122, allocations: 24.66 kB / 364 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.08151, allocations: 286.6 kB / 364.3 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.08153, allocations: 8.375 kB / 364.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.08156, allocations: 16.12 kB / 364.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.08201, allocations: 297.8 kB / 364.6 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.08203, allocations: 4 kB / 364.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.08205, allocations: 4 kB / 364.7 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.08206, allocations: 4 kB / 364.7 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.08219, allocations: 59.91 kB / 364.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.08261, allocations: 394.2 kB / 365.1 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.0829, allocations: 176 kB / 365.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.08303, allocations: 78.55 kB / 365.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.08306, allocations: 12 kB / 365.4 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.08319, allocations: 75.23 kB / 365.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.0832, allocations: 0 / 365.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004005/0.0836, allocations: 233.2 kB / 365.7 MB, free: 6.617 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.08368, allocations: 140.5 kB / 365.8 MB, free: 6.449 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.08393, allocations: 284.9 kB / 366.1 MB, free: 6.164 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.08396, allocations: 33.7 kB / 366.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.08403, allocations: 116.7 kB / 366.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.08406, allocations: 27.64 kB / 366.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.0841, allocations: 37.7 kB / 366.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.08419, allocations: 334.8 kB / 366.6 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.08427, allocations: 40.44 kB / 366.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.08441, allocations: 170 kB / 366.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.08461, allocations: 207.5 kB / 367 MB, free: 5.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.08463, allocations: 0 / 367 MB, free: 5.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002951/0.08493, allocations: 229.4 kB / 367.2 MB, free: 4.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.08495, allocations: 8 kB / 367.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.08496, allocations: 4 kB / 367.3 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.08497, allocations: 4 kB / 367.3 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.08505, allocations: 23.92 kB / 367.3 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.08507, allocations: 4 kB / 367.3 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.08517, allocations: 27.78 kB / 367.3 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.08519, allocations: 12 kB / 367.3 MB, free: 4.762 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.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,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.0001179/0.08531, allocations: 172 kB / 367.5 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.08547, allocations: 133.6 kB / 367.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.08553, allocations: 33.7 kB / 367.7 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.08554, allocations: 0 / 367.7 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.08555, allocations: 4 kB / 367.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.08556, allocations: 3.938 kB / 367.7 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.08573, allocations: 245.5 kB / 367.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.08574, allocations: 4.469 kB / 367.9 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.08578, allocations: 7.984 kB / 367.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.08579, allocations: 11.94 kB / 367.9 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.0858, allocations: 4 kB / 367.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.08581, allocations: 4 kB / 367.9 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.08582, allocations: 3.938 kB / 367.9 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.08609, allocations: 220.8 kB / 368.2 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.08621, allocations: 124.7 kB / 368.3 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.08625, allocations: 11.98 kB / 368.3 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.08632, allocations: 12.06 kB / 368.3 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.08636, allocations: 4 kB / 368.3 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.08638, allocations: 11.98 kB / 368.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.08656, allocations: 208.4 kB / 368.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.08656, allocations: 0 / 368.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.08683, allocations: 47.94 kB / 368.6 MB, free: 3.414 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,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEventScaled,table1.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.0007809/0.08761, allocations: 425.1 kB / 369 MB, free: 3.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.08786, allocations: 131.8 kB / 369.1 MB, free: 3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.08787, allocations: 1.062 kB / 369.1 MB, free: 3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.965e-05/0.08794, allocations: 32.05 kB / 369.1 MB, free: 2.969 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.08835, allocations: 116.3 kB / 369.3 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.08888, allocations: 456.6 kB / 369.7 MB, free: 2.375 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.08912, allocations: 0.756 MB / 370.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.08919, allocations: 38.42 kB / 370.5 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.08924, allocations: 19.44 kB / 370.5 MB, free: 1.539 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.08924, allocations: 0 / 370.5 MB, free: 1.539 MB / 302.1 MB Notification: Performance of Templates: time 0.1265/0.2158, allocations: 2.85 MB / 373.4 MB, free: 18.59 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches