Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 111.7 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 194.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009802/0.0009802, allocations: 47.94 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4035, allocations: 49.44 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.003314/0.4069, allocations: 0.8631 MB / 401.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000522/0.4074, allocations: 115.6 kB / 401.7 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.4076, allocations: 4 kB / 401.7 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.944e-05/0.4077, allocations: 3.938 kB / 401.7 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.4079, allocations: 11.86 kB / 401.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.4083, allocations: 35.89 kB / 401.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.4084, allocations: 39.92 kB / 401.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.4086, allocations: 31.95 kB / 401.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.4087, allocations: 11.94 kB / 401.8 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.4087, allocations: 19.86 kB / 401.9 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.4088, allocations: 4 kB / 401.9 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.4088, allocations: 4 kB / 401.9 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.4089, allocations: 19.92 kB / 401.9 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/0.4089, allocations: 19.81 kB / 401.9 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.4091, allocations: 55.73 kB / 402 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.4091, allocations: 4 kB / 402 MB, free: 7.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4091, allocations: 0 / 402 MB, free: 7.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.4092, allocations: 4 kB / 402 MB, free: 7.625 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.0005813/0.4097, allocations: 363 kB / 402.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.4098, allocations: 12.03 kB / 402.3 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.4099, allocations: 12.75 kB / 402.3 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.4102, allocations: 189.6 kB / 402.5 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4102, allocations: 8.375 kB / 402.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.4102, allocations: 4.375 kB / 402.5 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.4106, allocations: 131.8 kB / 402.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4106, allocations: 192 / 402.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.4107, allocations: 3.938 kB / 402.7 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.4107, allocations: 7.938 kB / 402.7 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.275e-05/0.4108, allocations: 16 kB / 402.7 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.411, allocations: 169.6 kB / 402.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.4112, allocations: 70.64 kB / 402.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.592e-05/0.4113, allocations: 40.89 kB / 403 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.4113, allocations: 0 / 403 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.4113, allocations: 30.56 kB / 403 MB, free: 6.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.4114, allocations: 0 / 403 MB, free: 6.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002724/0.4116, allocations: 89.47 kB / 403.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.4117, allocations: 63.41 kB / 403.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.4119, allocations: 133.7 kB / 403.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4119, allocations: 25.7 kB / 403.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.412, allocations: 92.12 kB / 403.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.412, allocations: 0 / 403.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.4121, allocations: 25.72 kB / 403.4 MB, free: 5.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4122, allocations: 318.8 kB / 403.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.4123, allocations: 12 kB / 403.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.4123, allocations: 58.8 kB / 403.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.4125, allocations: 74.75 kB / 403.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4125, allocations: 0 / 403.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001891/0.4127, allocations: 97.55 kB / 404 MB, free: 5.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4127, allocations: 4 kB / 404 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4127, allocations: 7.938 kB / 404 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.4128, allocations: 4 kB / 404 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.061e-05/0.4128, allocations: 0 / 404 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.4128, allocations: 7.938 kB / 404 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.4129, allocations: 7.938 kB / 404 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4129, allocations: 4 kB / 404 MB, free: 5.309 MB / 318.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.0001321/0.413, allocations: 133.6 kB / 404.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.4132, allocations: 73.58 kB / 404.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.4132, allocations: 12.31 kB / 404.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4132, allocations: 4 kB / 404.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4133, allocations: 4 kB / 404.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4133, allocations: 0 / 404.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.4134, allocations: 173.6 kB / 404.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4134, allocations: 0 / 404.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/0.4135, allocations: 3.938 kB / 404.4 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4135, allocations: 4 kB / 404.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4135, allocations: 3.938 kB / 404.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4135, allocations: 4 kB / 404.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4135, allocations: 3.984 kB / 404.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.4137, allocations: 97.03 kB / 404.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.4138, allocations: 89 kB / 404.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.4138, allocations: 7.938 kB / 404.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.23e-05/0.4139, allocations: 0 / 404.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-06/0.4139, allocations: 4 kB / 404.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.4139, allocations: 0 / 404.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.778e-05/0.414, allocations: 115.2 kB / 404.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.414, allocations: 0 / 404.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.4143, allocations: 4 kB / 404.7 MB, free: 4.488 MB / 318.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.0001384/0.4145, allocations: 108 kB / 404.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.4147, allocations: 40.39 kB / 404.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4147, allocations: 0.5 kB / 404.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.4147, allocations: 4 kB / 404.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.4151, allocations: 51.95 kB / 404.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.4156, allocations: 165.9 kB / 405.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.416, allocations: 0.7 MB / 405.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.802e-05/0.416, allocations: 3.984 kB / 405.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.4161, allocations: 11.44 kB / 405.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4161, allocations: 0 / 405.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of Templates: time 0.004107/0.4202, allocations: 0.6158 MB / 406.4 MB, free: 2.738 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches