Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00188/0.00188, allocations: 113.7 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002406/0.002406, allocations: 202.8 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.868/2.868, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5464, allocations: 50.54 MB / 409.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.004351/0.5508, allocations: 0.8621 MB / 410.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006904/0.5516, allocations: 107.7 kB / 410.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.5518, allocations: 4 kB / 410.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.086e-05/0.5519, allocations: 3.938 kB / 410.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.5522, allocations: 11.91 kB / 410.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.5527, allocations: 35.92 kB / 410.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.5529, allocations: 39.91 kB / 411 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.5532, allocations: 27.97 kB / 411 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.5532, allocations: 11.94 kB / 411 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.5533, allocations: 19.86 kB / 411 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.5534, allocations: 4 kB / 411 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.219e-05/0.5534, allocations: 4 kB / 411 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.5535, allocations: 15.92 kB / 411.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.087e-05/0.5536, allocations: 27.81 kB / 411.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.5539, allocations: 47.8 kB / 411.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.5539, allocations: 3.938 kB / 411.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.5539, allocations: 0 / 411.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.5539, allocations: 0 / 411.1 MB, free: 0.5273 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008436/0.5548, allocations: 375 kB / 411.5 MB, free: 116 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.419e-05/0.5549, allocations: 8.031 kB / 411.5 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.555, allocations: 8.844 kB / 411.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.5555, allocations: 193.6 kB / 411.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.5556, allocations: 4.375 kB / 411.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.5556, allocations: 4.375 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.5561, allocations: 127.8 kB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5561, allocations: 4.172 kB / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.5561, allocations: 7.938 kB / 411.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.5562, allocations: 4 kB / 411.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/0.5562, allocations: 23.92 kB / 411.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.5565, allocations: 173.6 kB / 412.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.5568, allocations: 70.69 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.5569, allocations: 32.84 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.5569, allocations: 4 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/0.557, allocations: 38.56 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 2.113e-06/0.557, allocations: 0 / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003771/0.5574, allocations: 85.53 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.5575, allocations: 59.34 kB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.5578, allocations: 133.7 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5578, allocations: 25.7 kB / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.5579, allocations: 88.14 kB / 412.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.5579, allocations: 7.984 kB / 412.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.558, allocations: 25.72 kB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.5582, allocations: 318.8 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.32e-05/0.5583, allocations: 8 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.356e-05/0.5584, allocations: 54.86 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.5585, allocations: 74.75 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/0.5586, allocations: 4 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003803/0.5589, allocations: 93.39 kB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.559, allocations: 6.969 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.559, allocations: 11.94 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.559, allocations: 0 / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.332e-05/0.5591, allocations: 4 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.5591, allocations: 4.25 kB / 413.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.5592, allocations: 11.94 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.5592, allocations: 7.938 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001719/0.5594, allocations: 125.8 kB / 413.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.5597, allocations: 73.58 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/0.5598, allocations: 20.3 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5598, allocations: 0 / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5598, allocations: 0 / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5599, allocations: 0 / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.5601, allocations: 173.7 kB / 413.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5601, allocations: 0 / 413.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.5601, allocations: 7.922 kB / 413.6 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.5601, allocations: 192 / 413.6 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.5601, allocations: 7.875 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.5602, allocations: 7.938 kB / 413.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5602, allocations: 0 / 413.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.5604, allocations: 97.03 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.5607, allocations: 97 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.5607, allocations: 3.938 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/0.5607, allocations: 0 / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-06/0.5607, allocations: 0 / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.5608, allocations: 4 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.773e-05/0.5609, allocations: 106.9 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5609, allocations: 0 / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003207/0.5612, allocations: 12 kB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001584/0.5614, allocations: 103.2 kB / 414 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.5616, allocations: 43.92 kB / 414.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5616, allocations: 0 / 414.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.5616, allocations: 0 / 414.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.5621, allocations: 43.95 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.5626, allocations: 191.9 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.5631, allocations: 0.6929 MB / 415 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.5632, allocations: 15.44 kB / 415 MB, free: 12.22 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5632, allocations: 0 / 415 MB, free: 12.22 MB / 334.1 MB Notification: Performance of Templates: time 0.004222/0.5674, allocations: 0.8178 MB / 415.8 MB, free: 11.41 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches