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.001357/0.001363, allocations: 113.5 kB / 17.7 MB, free: 5.309 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.00114/0.001139, allocations: 191 kB / 18.63 MB, free: 4.375 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.432/1.432, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009926/0.0009926, allocations: 46.92 kB / 302.1 MB, free: 5.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1188, allocations: 49.45 MB / 351.5 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002938/0.1218, allocations: 0.8488 MB / 352.4 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004165/0.1222, allocations: 111.6 kB / 352.5 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.1223, allocations: 7.938 kB / 352.5 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.892e-05/0.1224, allocations: 3.938 kB / 352.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.1225, allocations: 7.938 kB / 352.5 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1228, allocations: 47.02 kB / 352.5 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.1229, allocations: 39.86 kB / 352.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1231, allocations: 23.95 kB / 352.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.1231, allocations: 15.92 kB / 352.6 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.1231, allocations: 19.92 kB / 352.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1232, allocations: 4 kB / 352.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.1232, allocations: 4 kB / 352.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.1233, allocations: 15.94 kB / 352.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.1233, allocations: 27.8 kB / 352.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.1235, allocations: 59.67 kB / 352.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1235, allocations: 0 / 352.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1235, allocations: 0 / 352.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1235, allocations: 0 / 352.7 MB, free: 2.512 MB / 286.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.0004425/0.1239, allocations: 367.2 kB / 353.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.124, allocations: 8.031 kB / 353.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.124, allocations: 8.844 kB / 353.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.1243, allocations: 192.2 kB / 353.3 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1243, allocations: 8.375 kB / 353.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1243, allocations: 384 / 353.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.1246, allocations: 135.7 kB / 353.4 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1246, allocations: 192 / 353.4 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1247, allocations: 11.94 kB / 353.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1247, allocations: 0 / 353.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.808e-05/0.1247, allocations: 19.98 kB / 353.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.1249, allocations: 169.6 kB / 353.6 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.1251, allocations: 74.64 kB / 353.7 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.006e-05/0.1251, allocations: 32.89 kB / 353.7 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1252, allocations: 8 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.1252, allocations: 34.56 kB / 353.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1252, allocations: 0 / 353.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002018/0.1254, allocations: 85.7 kB / 353.9 MB, free: 1.203 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.1255, allocations: 63.39 kB / 353.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1256, allocations: 133.8 kB / 354.1 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1256, allocations: 25.7 kB / 354.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.1257, allocations: 88.14 kB / 354.2 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.1257, allocations: 4 kB / 354.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.1258, allocations: 33.61 kB / 354.2 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1259, allocations: 314.8 kB / 354.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.126, allocations: 11.98 kB / 354.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.126, allocations: 54.89 kB / 354.6 MB, free: 428 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.835e-05/0.1261, allocations: 82.73 kB / 354.7 MB, free: 320 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1261, allocations: 4 kB / 354.7 MB, free: 316 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001225/0.1263, allocations: 85.5 kB / 354.8 MB, free: 224 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1263, allocations: 4 kB / 354.8 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.1263, allocations: 11.92 kB / 354.8 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1263, allocations: 0 / 354.8 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.644e-05/0.1264, allocations: 11.92 kB / 354.8 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1264, allocations: 12.19 kB / 354.8 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.1264, allocations: 3.906 kB / 354.8 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1264, allocations: 8 kB / 354.8 MB, free: 172 kB / 286.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.000106/0.1266, allocations: 124.5 kB / 354.9 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1267, allocations: 73.58 kB / 355 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.1267, allocations: 16.31 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1267, allocations: 0 / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1268, allocations: 3.938 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1268, allocations: 3.984 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.1269, allocations: 173.7 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1269, allocations: 0 / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.1269, allocations: 0 / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1269, allocations: 0 / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.127, allocations: 3.938 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.127, allocations: 4 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.127, allocations: 0 / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.1271, allocations: 105 kB / 355.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.1272, allocations: 100.9 kB / 355.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1272, allocations: 3.938 kB / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.1272, allocations: 0 / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-06/0.1273, allocations: 0 / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1273, allocations: 7.938 kB / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.091e-05/0.1273, allocations: 99.27 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1273, allocations: 0 / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000203/0.1276, allocations: 8 kB / 355.5 MB, free: 15.35 MB / 302.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.0001414/0.1277, allocations: 107.8 kB / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.1278, allocations: 43.92 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1279, allocations: 0 / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1279, allocations: 192 / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.1282, allocations: 47.89 kB / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.1285, allocations: 157.6 kB / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1288, allocations: 0.6968 MB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.843e-05/0.1288, allocations: 4 kB / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.1289, allocations: 11.44 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1289, allocations: 3.938 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Templates: time 0.00293/0.1318, allocations: 0.6195 MB / 357.2 MB, free: 13.61 MB / 302.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 -s cvode -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/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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches