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.001193/0.001193, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.5 kB / 307.6 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09086/0.09215, allocations: 50.53 MB / 358.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003756/0.09594, allocations: 1.994 MB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.09816, allocations: 1.258 MB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.09836, allocations: 4 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006292/0.09903, allocations: 155.4 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004333/0.09948, allocations: 155.3 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.1001, allocations: 218.8 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.1004, allocations: 227.4 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1006, allocations: 60.25 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1007, allocations: 87.64 kB / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1009, allocations: 99.47 kB / 362.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1009, allocations: 15.98 kB / 362.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.1011, allocations: 55.98 kB / 362.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.1012, allocations: 51.83 kB / 362.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1013, allocations: 95.41 kB / 362.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.1016, allocations: 259.3 kB / 362.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1016, allocations: 0 / 362.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1016, allocations: 0 / 362.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1016, allocations: 4 kB / 362.9 MB, free: 9.367 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.0008404/0.1025, allocations: 0.5468 MB / 363.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1025, allocations: 11.97 kB / 363.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.632e-05/0.1026, allocations: 32.56 kB / 363.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.103, allocations: 274.8 kB / 363.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.103, allocations: 8.375 kB / 363.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1031, allocations: 20.12 kB / 363.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.1036, allocations: 302.2 kB / 364 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1036, allocations: 3.938 kB / 364.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1037, allocations: 4 kB / 364.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1037, allocations: 4 kB / 364.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.1038, allocations: 59.91 kB / 364.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.1044, allocations: 394.3 kB / 364.5 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.1047, allocations: 171.9 kB / 364.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.1049, allocations: 86.55 kB / 364.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1049, allocations: 8 kB / 364.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.1051, allocations: 83.31 kB / 364.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.1051, allocations: 0 / 364.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004823/0.1056, allocations: 217.4 kB / 365.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.1057, allocations: 152.4 kB / 365.2 MB, free: 6.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.106, allocations: 276.9 kB / 365.5 MB, free: 6.484 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.106, allocations: 33.7 kB / 365.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.1061, allocations: 120.7 kB / 365.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1061, allocations: 35.58 kB / 365.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.1062, allocations: 49.94 kB / 365.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1063, allocations: 334.8 kB / 366 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.1064, allocations: 40.45 kB / 366.1 MB, free: 5.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.1066, allocations: 171.7 kB / 366.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1069, allocations: 199.3 kB / 366.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1069, allocations: 0 / 366.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003601/0.1072, allocations: 221.3 kB / 366.7 MB, free: 5.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1073, allocations: 14.91 kB / 366.7 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1073, allocations: 4.312 kB / 366.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1073, allocations: 11.98 kB / 366.7 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.1074, allocations: 23.92 kB / 366.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1074, allocations: 8.375 kB / 366.7 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1075, allocations: 23.83 kB / 366.7 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1076, allocations: 11.98 kB / 366.8 MB, free: 5.062 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.0001588/0.1077, allocations: 172.1 kB / 366.9 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.1079, allocations: 133.2 kB / 367 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.1e-05/0.108, allocations: 25.72 kB / 367.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.108, allocations: 4 kB / 367.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.108, allocations: 3.984 kB / 367.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.108, allocations: 7.875 kB / 367.1 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.1083, allocations: 253.7 kB / 367.3 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1083, allocations: 0 / 367.3 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.1083, allocations: 8 kB / 367.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1084, allocations: 8 kB / 367.4 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1084, allocations: 8 kB / 367.4 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1084, allocations: 0 / 367.4 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1084, allocations: 3.984 kB / 367.4 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.1087, allocations: 229.3 kB / 367.6 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.1089, allocations: 120.8 kB / 367.7 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.1089, allocations: 8 kB / 367.7 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.109, allocations: 8 kB / 367.7 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.109, allocations: 7.984 kB / 367.7 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.1091, allocations: 8 kB / 367.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.1093, allocations: 204.5 kB / 367.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.1093, allocations: 0 / 367.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.1096, allocations: 51.88 kB / 368 MB, free: 3.719 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.0009331/0.1105, allocations: 423.6 kB / 368.4 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003137/0.1109, allocations: 143.7 kB / 368.5 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1109, allocations: 1.062 kB / 368.5 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.141e-05/0.1109, allocations: 27.98 kB / 368.6 MB, free: 3.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.1114, allocations: 124.5 kB / 368.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.1121, allocations: 435 kB / 369.1 MB, free: 2.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1125, allocations: 0.7558 MB / 369.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.1125, allocations: 27.44 kB / 369.9 MB, free: 1.871 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1125, allocations: 0 / 369.9 MB, free: 1.871 MB / 302.1 MB Notification: Performance of Templates: time 0.1483/0.2609, allocations: 3.256 MB / 373.2 MB, free: 19.52 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/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