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.0008201/0.0008201, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008913/0.0008913, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.7 MB / 247.5 MB, free: 11.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.0002562, allocations: 7.984 kB / 308.4 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.09678, allocations: 51.53 MB / 359.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001235/0.09806, allocations: 0.575 MB / 360.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003429/0.09843, allocations: 111.7 kB / 360.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.09855, allocations: 0 / 360.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.09859, allocations: 0 / 360.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.09872, allocations: 11.92 kB / 360.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.09896, allocations: 23.98 kB / 360.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.926e-05/0.09906, allocations: 35.91 kB / 360.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.09917, allocations: 27.97 kB / 360.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.636e-05/0.0992, allocations: 11.88 kB / 360.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.122e-05/0.09924, allocations: 19.86 kB / 360.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.09927, allocations: 7.938 kB / 360.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.09928, allocations: 0 / 360.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.09934, allocations: 11.92 kB / 360.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.09939, allocations: 49.52 kB / 360.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.212e-05/0.09947, allocations: 31.92 kB / 360.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.09948, allocations: 12 kB / 360.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.09949, allocations: 0 / 360.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.0995, allocations: 0 / 360.8 MB, free: 12.31 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003846/0.09989, allocations: 351.6 kB / 361.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.09993, allocations: 8.031 kB / 361.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.09998, allocations: 8.844 kB / 361.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.1002, allocations: 196.1 kB / 361.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1002, allocations: 4.312 kB / 361.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1002, allocations: 4.375 kB / 361.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.1005, allocations: 147.7 kB / 361.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1006, allocations: 4.188 kB / 361.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1006, allocations: 3.938 kB / 361.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1006, allocations: 0 / 361.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.1006, allocations: 15.98 kB / 361.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.1008, allocations: 169.7 kB / 361.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1009, allocations: 66.66 kB / 361.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.101, allocations: 40.89 kB / 361.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.101, allocations: 0 / 361.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.1011, allocations: 30.56 kB / 361.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1011, allocations: 4 kB / 361.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000202/0.1013, allocations: 93.47 kB / 362 MB, free: 11.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1013, allocations: 59.39 kB / 362 MB, free: 10.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.1015, allocations: 140.8 kB / 362.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1015, allocations: 25.7 kB / 362.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.1015, allocations: 84.14 kB / 362.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.1016, allocations: 8 kB / 362.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.1016, allocations: 13.7 kB / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1017, allocations: 322.8 kB / 362.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.1018, allocations: 15.98 kB / 362.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.1018, allocations: 50.88 kB / 362.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.22e-05/0.1019, allocations: 78.92 kB / 362.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1019, allocations: 0 / 362.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001373/0.1021, allocations: 89.5 kB / 362.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1021, allocations: 8 kB / 362.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1021, allocations: 3.938 kB / 362.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1021, allocations: 4 kB / 362.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.092e-05/0.1021, allocations: 11.98 kB / 362.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1022, allocations: 7.922 kB / 362.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.1022, allocations: 7.906 kB / 362.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1022, allocations: 4 kB / 362.9 MB, free: 9.996 MB / 302.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.000101/0.1023, allocations: 130 kB / 363 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/0.1024, allocations: 69.58 kB / 363.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.1024, allocations: 16.31 kB / 363.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1025, allocations: 0 / 363.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1025, allocations: 3.938 kB / 363.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1025, allocations: 3.984 kB / 363.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.1026, allocations: 165.7 kB / 363.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1026, allocations: 0 / 363.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.1026, allocations: 8 kB / 363.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1026, allocations: 0 / 363.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1026, allocations: 7.938 kB / 363.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1027, allocations: 0 / 363.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1027, allocations: 0 / 363.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.1028, allocations: 97.41 kB / 363.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.1029, allocations: 96.94 kB / 363.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.1029, allocations: 7.938 kB / 363.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.723e-05/0.1029, allocations: 4 kB / 363.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-06/0.1029, allocations: 0 / 363.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1029, allocations: 11.94 kB / 363.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.916e-05/0.103, allocations: 99.27 kB / 363.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.103, allocations: 0 / 363.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002027/0.1032, allocations: 8 kB / 363.6 MB, free: 9.18 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.0001029/0.1033, allocations: 102.8 kB / 363.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.1035, allocations: 44.31 kB / 363.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1035, allocations: 4.125 kB / 363.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.1035, allocations: 0 / 363.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1038, allocations: 51.92 kB / 363.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.1041, allocations: 201.1 kB / 364 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1044, allocations: 0.7015 MB / 364.7 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.1045, allocations: 11.44 kB / 364.7 MB, free: 8 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1045, allocations: 0 / 364.7 MB, free: 8 MB / 302.1 MB Notification: Performance of Templates: time 0.002272/0.1068, allocations: 0.7792 MB / 365.5 MB, free: 7.227 MB / 302.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