Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, allocations: 117.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 211.7 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.56/1.56, allocations: 230.4 MB / 250 MB, free: 9.016 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.83 kB / 367.3 MB, free: 7.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3479, allocations: 53.31 MB / 420.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004663/0.3525, allocations: 2.022 MB / 422.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.3556, allocations: 1.258 MB / 423.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.3558, allocations: 4 kB / 423.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008075/0.3566, allocations: 167.4 kB / 424.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006229/0.3572, allocations: 155.3 kB / 424.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008238/0.3581, allocations: 214.5 kB / 424.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.3585, allocations: 223.4 kB / 424.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3586, allocations: 44.28 kB / 424.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3588, allocations: 95.61 kB / 424.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.359, allocations: 103.5 kB / 424.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.359, allocations: 12 kB / 424.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.3592, allocations: 59.97 kB / 425 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.3594, allocations: 51.83 kB / 425 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3595, allocations: 95.41 kB / 425.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.36, allocations: 262.8 kB / 425.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.36, allocations: 4 kB / 425.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.36, allocations: 0 / 425.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.36, allocations: 4 kB / 425.4 MB, free: 3.582 MB / 334.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.001049/0.361, allocations: 0.5582 MB / 425.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3611, allocations: 8.031 kB / 426 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.3612, allocations: 28.78 kB / 426 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.3617, allocations: 286.9 kB / 426.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3617, allocations: 16.38 kB / 426.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.3617, allocations: 16.12 kB / 426.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.3624, allocations: 302.4 kB / 426.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3624, allocations: 0 / 426.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.3624, allocations: 8 kB / 426.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.3624, allocations: 7.938 kB / 426.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3626, allocations: 51.97 kB / 426.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/0.3634, allocations: 402.2 kB / 427 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.3637, allocations: 152 kB / 427.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.3639, allocations: 78.55 kB / 427.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.3639, allocations: 16.05 kB / 427.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.3641, allocations: 71.33 kB / 427.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.894e-06/0.3641, allocations: 0 / 427.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005628/0.3647, allocations: 229.5 kB / 427.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.3648, allocations: 144.6 kB / 427.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.3652, allocations: 284.9 kB / 428 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3652, allocations: 29.7 kB / 428 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3653, allocations: 120.6 kB / 428.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.3654, allocations: 31.83 kB / 428.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/0.3655, allocations: 53.94 kB / 428.2 MB, free: 456 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3657, allocations: 334.8 kB / 428.6 MB, free: 112 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.3658, allocations: 40.45 kB / 428.6 MB, free: 72 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.366, allocations: 180.9 kB / 428.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.3663, allocations: 195.2 kB / 429 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3663, allocations: 4.25 kB / 429 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003971/0.3667, allocations: 225.2 kB / 429.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.3667, allocations: 10.66 kB / 429.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3667, allocations: 7.984 kB / 429.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.3668, allocations: 7.984 kB / 429.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3669, allocations: 19.94 kB / 429.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.3669, allocations: 11.92 kB / 429.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.367, allocations: 24.33 kB / 429.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.367, allocations: 20 kB / 429.3 MB, free: 15.26 MB / 350.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.0002041/0.3673, allocations: 163.9 kB / 429.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.3675, allocations: 129.4 kB / 429.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.233e-05/0.3676, allocations: 29.7 kB / 429.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3676, allocations: 7.938 kB / 429.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3676, allocations: 0 / 429.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3676, allocations: 7.938 kB / 429.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.368, allocations: 245.5 kB / 429.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.368, allocations: 4 kB / 429.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.368, allocations: 7.938 kB / 429.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.368, allocations: 4.469 kB / 429.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.368, allocations: 7.984 kB / 429.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.368, allocations: 4 kB / 429.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.368, allocations: 0 / 429.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.3685, allocations: 234.4 kB / 430.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3686, allocations: 120.9 kB / 430.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.3686, allocations: 8 kB / 430.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.3687, allocations: 4 kB / 430.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.3688, allocations: 11.92 kB / 430.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.3688, allocations: 8.062 kB / 430.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.369, allocations: 204.5 kB / 430.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.369, allocations: 0 / 430.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.3694, allocations: 51.86 kB / 430.5 MB, free: 13.93 MB / 350.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.001641/0.371, allocations: 416.7 kB / 430.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.3714, allocations: 136.5 kB / 431.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3714, allocations: 256 / 431.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.3715, allocations: 27.98 kB / 431.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.372, allocations: 111 kB / 431.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007823/0.3728, allocations: 405 kB / 431.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.3732, allocations: 0.7597 MB / 432.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.73e-05/0.3733, allocations: 30.5 kB / 432.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.3734, allocations: 27.42 kB / 432.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3734, allocations: 288 / 432.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of Templates: time 0.008334/0.3817, allocations: 3.076 MB / 435.5 MB, free: 9.074 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches